you need a while loop to put the results into a html table
print "<table><tr><td>$currentmonth</td><td>$currentyear></td></tr>";
while(mysql_fetch_array($result)){
$date = mysql_result($result, "date");
$venue = mysql_result($result, "venue");
print("<tr><td>$date</td><td>$venue</td><tr> ");
}
print "</table>";
of course you will have to modify it to conform to your data and display exactaly the way you want it, but thats the basic idea
you will also need a section to determine the month
an if loop somewhere should do the trick to place the data under the proper table header, you might just forget the this month and next month stuff and just list everything, its a lot easier