Warning: mt_rand(): max(-1) is smaller than min(0) in /var/www/vhosts/towntalk.co.uk/httpdocs/subdomains/classes/main_page/4/index.class.php on line 762
1064 - 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 ' 1' at line 3

SELECT trading_name, g.description, g.gatename, b.logo FROM business b LEFT JOIN business_gateway g ON g.business_id = b.business_id WHERE b.site_name = 'zapp' AND b.business_id = g.business_id AND g.description != '' AND trading_name NOT LIKE '%vacant' LIMIT , 1