AMP error:
Error with your SQL query. Incorrect syntax near the keyword 'AND'.
Query:
SELECT * FROM brands WHERE brands.deleteFake_rs = 0 AND brands.arhiva_rs = 0 AND id = AND ((publish_from <= 202411220617 OR publish_from IS NULL OR publish_from = 0) AND (publish_to >= 202411220617 OR publish_to IS NULL OR publish_to = 0)) ORDER BY brands.rbr_rs ASC;
Class name: ampDB_Active_record, Function: query()
Requested URL: /index.asp