mysql.log 에서 쿼리가 한줄로 보여질수 있도록 쿼리문 수정

This commit is contained in:
gnuboard
2013-07-23 13:11:53 +09:00
parent 291f9d9b79
commit 318c868274
5 changed files with 17 additions and 60 deletions

View File

@ -8,13 +8,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<ul>
<?php
$hsql = "
select a.it_id, a.it_name, a.ct_qty
from {$g4['shop_cart_table']} a left join {$g4['shop_item_table']} b on ( a.it_id = b.it_id )
where a.uq_id = '".get_session('ss_uq_id')."'
and a.ct_num = '0'
order by a.ct_id
";
$hsql = " select a.it_id, a.it_name, a.ct_qty from {$g4['shop_cart_table']} a left join {$g4['shop_item_table']} b on ( a.it_id = b.it_id ) ";
$hsql .= " where a.uq_id = '".get_session('ss_uq_id')."' and a.ct_num = '0' order by a.ct_id ";
$hresult = sql_query($hsql);
for ($i=0; $row=sql_fetch_array($hresult); $i++)
{