No valid database connection 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 d.id_organisme = 157 AND d.dep_publie = 1' at line 1 SQL=SELECT d.dep_nom_fr AS nom_departement , id_departement , d.dep_taches_fr AS tache_departement FROM jos_departement AS d WHERE d.id_departement = AND d.id_organisme = 157 AND d.dep_publie = 1
No valid database connection 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.id_organisme = 157 AND a.id_fonction = f.id_fonction AND a.id_contact = c.' at line 1 SQL=SELECT c.id_contact, CONCAT(c.con_nom, ' ' , c.con_prenom) AS nom_contact, c.con_titre, f.fct_nom_fr AS nom_fonction , p.abreviation AS pays FROM jos_affectation AS a, jos_fonction AS f , jos_contact AS c , jos_pays AS p WHERE a.id_departement = AND a.id_organisme = 157 AND a.id_fonction = f.id_fonction AND a.id_contact = c.id_contact AND c.con_pays = p.id AND c.con_publie = 1 ORDER BY f.ordering, c.con_nom, c.con_prenom