PHP gevorderde |
|
wat is hier fout aan:
<?php
$query = mysql_query("SELECT id FROM news WHERE type = 4,5,6 ORDER BY id DESC") or die(mysql_error());
?>
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 '5,6 ORDER BY id DESC' 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 '5,6 ORDER BY id DESC' at line 1
ik wil het id selecteren van alle berichte waar style = 3 of 4 of 5
|