Salut à tous, j´ai de nouveau un probleme en PHP, un code tout simple, qui marche avec free, ne marche plus avec un autre hébergeur :
Il m´affiche :
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 DESC´ at line 1
ET voici le code en question :
$infos = mysql_query(´SELECT * FROM commentairesjdn WHERE idnews=´ . $_GET[´idnews´] . ´ ORDER BY id DESC´)or die (mysql_error());
while ($donnees = mysql_fetch_array($infos))
Merci d´avance