stylekorean category
top

select count(*) cnt from `g5_shop_item` where it_use = '1' and it_brand_idx = and it_stock_qty > 0 order by it_order, it_id desc

1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and it_stock_qty > 0 order by it_order, it_id desc' at line 1

error file : /mobile/shop/sub_page_is.php