Sidst opdateret:
 
Sorter efter:





= $dagsdato) ORDER BY arrangoerer,arrangement_dato,start_tid"; $result = MYSQL_QUERY($query); /* Hvor mange gav det? */ $number = MYSQL_NUMROWS($result); $i = 0; IF ($number == 0) { PRINT "

Databasen er tom

"; } ELSE { PRINT "\n"; $table_arrangoerer = ""; WHILE ($i < $number) { $arrangement_dato = date("d", mysql_result($result,$i,"arrangement_dato")); $start_tid = mysql_result($result,$i,"start_tid"); $stop_tid = mysql_result($result,$i,"stop_tid"); $arrangoerer = mysql_result($result,$i,"arrangoerer"); IF ($arrangoerer == "") $arrangoerer = " "; $bynavn = mysql_result($result,$i,"bynavn"); IF ($bynavn == "") $bynavn = "'Ikke angivet'"; $beskrivelse = stripslashes(mysql_result($result,$i,"beskrivelse")); $table_dato = date("d/m-Y", mysql_result($result,$i,"arrangement_dato")); IF ($table_arrangoerer != $arrangoerer) { IF ($table_arrangoerer != "") { PRINT " \n"; PRINT " \n"; PRINT " \n"; } $table_arrangoerer = $arrangoerer; PRINT " \n"; PRINT " \n"; PRINT " \n"; } PRINT " \n"; PRINT " \n"; PRINT " \n"; PRINT " \n"; PRINT " \n"; PRINT " \n"; PRINT " \n"; PRINT " \n"; $i++; } PRINT "
 
$table_arrangoerer
$table_dato$start_tid - $stop_tid$bynavn
$beskrivelse
\n"; } ?>