Couldn't access to database!!!

SQL Error : 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 '' at line 1

SELECT cat_title FROM vn_pro_cat WHERE cat_id =

Line : 460
File : /home/sieuthi6/public_html/func/product.php