EROARE SQL:
select p.* from produse_blog as p, leg_cat_prod_blog as l where l.id_produs=p.id and p.id != "" and l.id_categorie in (295,) order by RAND() limit 6
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 ') order by RAND() limit 6' at line 1