res = mysql_query("
SELECT * FROM agenda
WHERE status = 'online' AND maand = '".mysql_real_escape_string($_GET['maand'])."' AND jaar = '".mysql_real_escape_string($_GET['Year'])."'
ORDER BY dag
");
if($res) {
while ($row = mysql_fetch_object($res)) {
$tekst = nl2br($row->text);
echo " Datum - ";
echo $row->dag."-";
echo $row->maand."-";
echo $row->jaar."";