## ERROR IN /var/www/vhosts/stokepark.onlineintegrity.net/httpdocs/includes/get_offers_sub.php, AT LINE 4 ##
MySQL says...
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 (NOW() BETWEEN xstart AND xend) ORDER BY xrank ASC' at line 1

SELECT * FROM offers WHERE catid = AND (NOW() BETWEEN xstart AND xend) ORDER BY xrank ASC