|
An error occurred accessing the database: 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 'ORDER BY rand()' at line 6 ...in the following sql statement: SELECT p.*,p.orderindex as porderindex,co.id as colourid
FROM products p, related_products r, product_colours co
WHERE p.hidden=0 AND co.productid=p.id
AND p.id=r.childid AND r.parentid=
ORDER BY rand()
|
|
An error occurred accessing the database: 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 'ORDER BY rand() LIMIT 0,4' at line 6 ...in the following sql statement: SELECT p.*,p.orderindex as porderindex,co.id as colourid
FROM products p, related_products r, product_colours co
WHERE p.hidden=0 AND co.productid=p.id
AND p.id=r.childid AND r.parentid=
ORDER BY rand()
LIMIT 0,4;
|