Nieuw lid |
|
$sql = mysql_query("SELECT DISTINCT forum_onderwerpengame.titel,forum_onderwerpengame.id FROM forum_onderwerpengame,forum_reactiesgame ORDER BY forum_reactiesgame.id DESC WHERE status = 1") or die(mysql_error());
$sql = mysql_query("SELECT DISTINCT forum_onderwerpengame.titel,forum_onderwerpengame.id FROM forum_onderwerpengame,forum_reactiesgame ORDER BY forum_reactiesgame.id DESC WHERE status = 1") or die(mysql_error());
Waarom heefd hij deze fout?
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 'WHERE status = 1' at line 1
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 'WHERE status = 1' at line 1
|