I have been able to produce the calendar (month at a glance), but I cannot query a date from the calendar from its corresponding date in the SQL database to display events from that day. If it works properly, it should show all events for the month on the appropriate day.
Variables used:
$year // example: 2005
$month // example: 8
$day_counter // example: 11 - this is looped to increment until month is done
$thisdate = mkdate(0, 0, 0, $month, $day_counter, $year);
$sql = "SELECT * FROM `school_year0506` WHERE Date LIKE '$thisdate'";
I realize that I am probably way off, so if I need to alter things, I am very willing.