[PHP PDO Error 42000]
Message: SQLSTATE[42000]: Syntax error or access violation: 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 dc_status = 1' at line 1
Code: 42000
File: /home/caanep5/public_html/caanepal.org.np/flightsafety/library/db.class.php
Line: 531

SELECT COUNT(*) FROM download_cat WHERE dc_ID= AND dc_status = 1

Fatal error: Call to a member function fetch() on a non-object in /home/caanep5/public_html/caanepal.org.np/flightsafety/library/db.class.php on line 373