Error explanation please...

admin

Administrator
Staff member
What does this error mean? I\'ll give more details if neccessary:

Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/classlist.php on line 20

All that is on line 18 through 21 is the following:
=================================
$result = mysql_query(\"SELECT * FROM CLASS WHERE CLASS_END <= NOW()\");

while ($row = mysql_fetch_array($result)) {
print \"$row[class_name] started on $row[class_start] and finished on $row[class_end]\";
}
==================================
 
Back
Top