MySQLi 지원 추가

This commit is contained in:
chicpro
2015-10-12 14:12:45 +09:00
parent e016679e67
commit f1c56fe70c
23 changed files with 170 additions and 88 deletions

View File

@ -93,7 +93,7 @@ $result = sql_query($sql);
</tr>
</thead>
<tbody>
<?php for ($i=0; $row=mysql_fetch_array($result); $i++) {
<?php for ($i=0; $row=sql_fetch_array($result); $i++) {
$sql1 = " select COUNT(*) as cnt from {$g5['faq_table']} where fm_id = '{$row['fm_id']}' ";
$row1 = sql_fetch($sql1);
$cnt = $row1['cnt'];