MySQL Query : SELECT COUNT(*) AS `count` FROM `phpcms_content` WHERE catid= AND status=99 MySQL Error : 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=99' at line 1 MySQL Errno : 1064 Message : MySQL Query Error