쿼리를 로그에서 한줄로 보이도록 수정

This commit is contained in:
gnuboard
2013-06-21 18:15:51 +09:00
parent 98f71668d8
commit 6d0c3a9a15
11 changed files with 32 additions and 78 deletions

View File

@ -5,10 +5,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<table cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>
<tr><td><a href='<?php echo G4_SHOP_URL; ?>/cart.php'><img src='<?php echo G4_SHOP_URL; ?>/img/bar_cart.gif' border=0></a></td></tr>
<?php
$hsql = " select a.it_id, a.it_name, a.ct_qty from {$g4['shop_cart_table']} a, {$g4['shop_item_table']} b
where a.uq_id = '".get_session('ss_uq_id')."'
and a.it_id = b.it_id
order by a.ct_id ";
$hsql = " select a.it_id, a.it_name, a.ct_qty from {$g4['shop_cart_table']} a, {$g4['shop_item_table']} b where a.uq_id = '".get_session('ss_uq_id')."' and a.it_id = b.it_id order by a.ct_id ";
$hresult = sql_query($hsql);
for ($i=0; $row=sql_fetch_array($hresult); $i++)
{