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,12 +8,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<ul>
<?php
$hsql = "
select a.it_id, b.it_name from {$g4['shop_wish_table']} a, {$g4['shop_item_table']} b
where a.mb_id = '{$member['mb_id']}'
and a.it_id = b.it_id
order by a.wi_id desc
";
$hsql = " select a.it_id, b.it_name from {$g4['shop_wish_table']} a, {$g4['shop_item_table']} b ";
$hsql .= " where a.mb_id = '{$member['mb_id']}' and a.it_id = b.it_id order by a.wi_id desc ";
$hresult = sql_query($hsql);
for ($i=0; $row=sql_fetch_array($hresult); $i++)
{