SELECT * FROM `thebigwaf01`.`movies` WHERE CATEGORY LIKE '%Western%' AND (ORIGINALTITLE LIKE '%James Franco%' OR TRANSLATEDTITLE LIKE '%James Franco%' OR DIRECTOR LIKE '%James Franco%' OR PRODUCER LIKE '%James Franco%' OR ACTORS LIKE '%James Franco%' OR DESCRIPTION LIKE '%James Franco%' OR VIDEOFORMAT LIKE '%James Franco%' OR FRAMERATE LIKE '%James Franco%' OR FILESIZE LIKE '%James Franco%' OR AUDIOFORMAT LIKE '%James Franco%' OR DATEADD LIKE '%James Franco%' OR MEDIA LIKE '%James Franco%' OR RESOLUTION LIKE '%James Franco%' OR LENGTH LIKE '%James Franco%' OR LANGUAGES LIKE '%James Franco%' OR SUBTITLES LIKE '%James Franco%' OR MEDIATYPE LIKE '%James Franco%') ORDER BY DATEADD DESC, ORIGINALTITLE ASC LIMIT -24,24

Invalid Query: 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 '-24,24' at line 1