Query Error SELECT id,record_id,alias,name,description,manufactory_alias
FROM fs_products_hoidap
WHERE id <> 4608 AND manufactory <>
AND lop_hoc =
AND published = 1
ORDER BY RAND()
LIMIT 8
Array
(
[0] => 42000
[1] => 1064
[2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND lop_hoc =
AND published = 1
ORDER BY RAND()
LIMIT 8' at line 4
)