Posted by macca on 09/01/07 22:15
if (empty($band[date])) {
echo "No shows on the calendar.";
}
Have you checked the values in your database? are the "date" fields
being set to NULL or nothing if there is no date entered? or have you
set a NOT NULL DEFAULT value such as '0000-00-00' for fields where no
date is specified?
[Back to original message]
|