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 '' at line 1

SELECT cus.customers_company as company, cus.customers_telephone as tel,cus.customers_telephone_mobile as cel, cus.customers_fax as fax, cus.customers_street_address as address, cit.zone_name as city, cit.zone_code as province, cus.customers_url as url, cus.customers_email_address as email, com.logo as logo, com.have_room as have_room, rom.room_text as text, rom.image_1 as img1, rom.image_2 as img2, rom.image_3 as img3, rom.image_4 as img4, cat.categories_name as categories FROM customers as cus INNER JOIN company as com INNER JOIN room as rom INNER JOIN categories as cat INNER JOIN zones_cities as cit ON cus.customers_id=com.customers_id AND com.company_id=rom.company_id AND com.categories_id=cat.categories_id AND cus.customers_city=cit.zones_cities_id WHERE cus.customers_id=

[TEP STOP]