Harmonic Drives

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 cat_sponsors.begin_date <= NOW() AND cat_sponsors.end_date >= NOW() AND comp' at line 1