select * from Gn_Shop_Item where ca_id = and it_id != and it_use='1' order by rand() limit 10

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_id != and it_use='1' order by rand() limit 10' at line 1

error file : /shop/item.php