I have a webpage that is listing the results of each given day of a month using the following code.
$day_events = "SELECT * FROM tbl_events WHERE day='".$day_id."'";
$events_result = mysql_query($day_events);
while($event_row=mysql_fetch_array($events_result)) {
$calendar.= "<span>".$event_row['event']."</span>";
}
How can I edit this to list the number of events that are found in the...
SELECT * FROM tbl_events WHERE day='".$day_id."'
...query?