Je moet ingelogd zijn om te stemmen.
<?php error_reporting(E_ALL); $Query = mysql_query("SELECT * FROM nieuws ORDER BY datum DESC LIMIT 0,5"); ?>
<?php $select = mysql_query("SELECT `id`,`titel` FROM `nieuws` ORDER BY `id` DESC LIMIT 5") or die (Mysql_Error()); while($object = mysql_fetch_assoc($select)) { echo '<a href="nieuws/'. $object['id'] .'/'. $object['titel'] .'/">'. $object['titel'] .'</a>'; } ?>