sjlplat
07-03-2007, 07:45 PM
Fixed! Here's the problem and solution:
$row = mysql_num_rows($query_agent) or die(mysql_error());
Should be:
$row = mysql_num_rows($query_agent);
I guess you can't use die() with mysql_num_rows().
$row = mysql_num_rows($query_agent) or die(mysql_error());
Should be:
$row = mysql_num_rows($query_agent);
I guess you can't use die() with mysql_num_rows().