SELECT id,question,reponse FROM onlinefaq WHERE id_version=1 ANd id_signal= ORDER BY id 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 id' at line 1