mysql.log 에서 쿼리가 한줄로 보여질수 있도록 쿼리문 수정
This commit is contained in:
@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user