Can't execute query
SELECT *
FROM banners
WHERE route = AND (Active = 1)
ORDER BY rand()
MySQL Error: 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 (Active = 1)
ORDER BY rand()' at line 3 This script cannot continue, terminating. |