Erreur requête SELECT bat.id, bat.nom, bat.image1 FROM yacht_bateau bat JOIN yacht_assoc_bateau_package assoc ON assoc.id_bateau = bat.id JOIN yacht_package p ON p.id = assoc.id_package WHERE assoc.id_package = ORDER BY bat.nom ASC 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 'ORDER BY bat.nom ASC' at line 6 )