MySQL Error!
------------------------

SELECT * FROM tour WHERE category_prikey= AND prikey !=1532 AND status='L' AND admin_prikey = 39 ORDER BY prikey DESC LIMIT 0,6

The Error returned was:

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 prikey !=1532 AND status='L' AND admin_prikey = 39 ORDER BY prikey DESC LIM' at line 1

Error Number:

1064