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 'NESS' AND advertise_end_date >='2012-02-04'' at line 1
CHECK THE URL =>
SELECT * FROM tbl_advertise WHERE payment_status ='Completed' AND advertise_page='BO'NESS' AND advertise_end_date >='2012-02-04'