KO $qry1: SELECT a.*, a.nome as ctName, b.nome as cgName, b.url_id as cgurlid FROM categorie a INNER JOIN catalog b ON a.parent_id=b.id WHERE a.id= AND a.langId=0 AND b.langId=0 ;
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 'AND a.langId=0 AND b.langId=0' at line 2