LIST 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 t1.approved=1 AND t1.suspend=0 AND t1.verified=1 AND (t1.stopdate >= CURDATE' at line 4