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 'htm' && builder_id ='1040885'' at line 1/home/indianyp/indianyellowpages.com/htdocs/bizpage/dynamiccatalog/index.php--692 IN FILE /home/indianyp/indianyellowpages.com/htdocs/bizpage/dynamiccatalog/index.php -

select project_id from project_tbl where file_nm='prop-'%22.htm' && builder_id ='1040885'

[TEP STOP]