SELECT idx, title, sale_price FROM goods WHERE display > 0 AND section = 'camping' AND state = 1 AND user_idx = AND idx <> ORDER BY update_date DESC LIMIT 0, 3 [nativecode=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 idx <> ORDER BY update_date DESC LIMIT 0, 3' at line 1]