Error in query :
select * from pages where page_unique_file_name=''pay-per-click''
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 'pay-per-click''' at line 1