I have a question about something weird that I've noticed Here's some code that I have that loads up
$sql = "SELECT * FROM pickup_times WHERE DAYOFMONTH(time0_name) = $dayofmonth"; $result = mysql_query($sql, $dbh); $day = mysql_fetch_array($result); for ($i=0; $i<sizeof($day); $i++) echo "I: $i Result: $day[$i]<br>"; When I do this it prints out 2 times the number of columns that I actually have plus 1. All of the ones past the actual number of columns are just empty, but is there something that I'm doing wrong? Thanks, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php