mysqli 지원 추가

This commit is contained in:
chicpro
2015-10-12 15:39:10 +09:00
parent 83e055791e
commit 804ae37f16
49 changed files with 76 additions and 78 deletions

View File

@ -71,7 +71,7 @@ $listall = '<a href="'.$_SERVER['SCRIPT_NAME'].'" class="ov_listall">전체목
<?php
$sql1 = " select ca_id, ca_name from {$g5['g5_shop_category_table']} order by ca_order, ca_id ";
$result1 = sql_query($sql1);
for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
for ($i=0; $row1=sql_fetch_array($result1); $i++) {
$len = strlen($row1['ca_id']) / 2 - 1;
$nbsp = "";
for ($i=0; $i<$len; $i++) $nbsp .= "&nbsp;&nbsp;&nbsp;";
@ -124,7 +124,7 @@ $listall = '<a href="'.$_SERVER['SCRIPT_NAME'].'" class="ov_listall">전체목
</thead>
<tbody>
<?php
for ($i=0; $row=mysql_fetch_array($result); $i++)
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$href = G5_SHOP_URL."/item.php?it_id={$row['it_id']}";