PHP8 버전에서 경고 표시가 뜨는 코드 추가 수정

This commit is contained in:
thisgun
2021-01-09 17:19:31 +09:00
parent d80b1d3506
commit a2cf2747bb
7 changed files with 26 additions and 13 deletions

View File

@ -43,7 +43,8 @@ $result = sql_query($sql);
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
$href = "";
$href = '';
$href_close = '';
$sql = " select count(ev_id) as cnt from {$g5['g5_shop_event_item_table']} where ev_id = '{$row['ev_id']}' ";
$ev = sql_fetch($sql);
if ($ev['cnt']) {