One way would be to build a couple of queries and build the
page dynamically with php.
Like this
<?php
$host = 'localhost';
$user = 'user';
$pass = 'password''
$link = mysql_connect($host, $user, $pass);
$dateQry = "SELECT date from table_EventTable ORDER BY date";
$dateList = mysql_query($dateQry, $link) or die
(mysql_error());
// do not close the link to the database yet...
?>
....... SOME HTML .........
<?php
// run through the list of dates
while ($rowDate = mysql_fetch_assoc ($dateList)) {
$currDate = $rowDate['date'];
echo $currDate . "\n";
$eventQry = "SELECT event, time, location FROM
table_EventTable WHERE date = ' . $currDate;
$eventList = mysql_query($eventQry , $link) or die
(mysql_error());
while ($rowEvent = mysql_fetch_assoc ($dateList)) {
$currEvent = $rowEvent['event'];
$currTime = $rowEvent['time'];
$currLoc = $rowEvent['location '];
echo 'At ' . $currTime . ' ' . $currEvent . ' is happening
here: ' . $currLoc . "\n";
}
}
mysql_free_result($eventList);
mysql_free_result($dateList );
You can apply tables and or other formatting in the code, but
this will give a basic idea of ONE possible solution.
I hope this works for you!!