Hey Leute,
ich bekomme diese Fehlermeldung
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 'MAX_RANDOM_PRODUCTS' at line 15
SELECT * FROM products p, products_description pd, products_to_categories p2c, categories c where c.categories_status='1' and p.products_id = p2c.products_id and p.products_id=pd.products_id and p2c.categories_id = c.categories_id and p.products_status = '1' and pd.language_id = '2' order by rand() limit MAX_RANDOM_PRODUCTS
Aber ein order by rand finde ich in der Datei gar nicht...