Bateaux & yacht a louer
Erreur requête SELECT bat.* FROM yacht_bateau bat JOIN yacht_bateau_type_assoc assoc ON bat.id = assoc.id_bateau JOIN yacht_type t ON assoc.id_type = t.id WHERE and bat.isLocation=1 and isVisible=1 and isVendu = 0 ORDER BY bat.length DESC Array ( [0] => 42000 [1] => 1064 [2] => 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 bat.isLocation=1 and isVisible=1 and isVendu = 0 ORDER BY bat.length DESC' at line 5 )