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

SELECT name FROM category WHERE prikey= AND status='L' AND admin_prikey = 25

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 status='L' AND admin_prikey = 25' at line 1

Error Number:

1064