Se connecter  /  Créer un compte


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 'AND a.advertises_location = 'PRODUCTS_LISTING' AND a.date_start < now() ' at line 7

SELECT distinct a.advertises_id FROM advertises a, advertises_to_prices_code apc WHERE a.languages_id = AND a.advertises_location = 'PRODUCTS_LISTING' AND a.date_start < now() AND a.advertises_status = 1 AND a.advertises_id = apc.advertises_id AND (a.date_end > now() OR a.date_end = '0000-00-00 00:00:00') AND apc.prices_code = 'ALL' ORDER BY rand() LIMIT 1

[TEP STOP]