Error performing query: SELECT * FROM sneha_progress_report WHERE ProjectId= and SMod=1 and DMod=0 ORDER BY Date DESC:
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 SMod=1 and DMod=0 ORDER BY Date DESC' at line 1