$i 값이 증가하지 않아 같은 id 값이 생성되는 오류 수정

This commit is contained in:
kagla
2021-09-08 13:58:58 +09:00
parent f75202786e
commit fc0f67d4c2

View File

@ -178,7 +178,8 @@ function no_hp_click(val)
}
$line = 0;
$qry = sql_query("select * from {$g5['sms5_book_table']} where 1 $sql_group $sql_search $sql_korean $sql_no_hp order by bk_no desc limit $page_start, $page_size");
while($res = sql_fetch_array($qry))
// while($res = sql_fetch_array($qry))
for ($i=0; $res = sql_fetch_array($qry); $i++)
{
$bg = 'bg'.($line++%2);