Title |
RSS - mysql_num_rows error |
Message Text |
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in classes/database.php on line 108
I get that at anmlmdirectory.com/index.ph...?action=displaycat&catid=9
Try to see the right rss feed.
This is what's around line 108 in database.php :
function numrows($sqllump)
{
global $debug, $debuginfo, $mysqlloosetime;
$b = microtime();
$num = mysql_num_rows($sqllump);
$mysqlloosetime += microtime() - $b;
if (($debug>0) && ($debug<4))
{
if ($debug == 2)$debuginfo .= "<p>Number of rows is $num for $sqllump". mysql_error() ."</p>";
else echo "<p>Number of rows is $num for $sqllump". mysql_error() ."</p>";
}
return $num;
}
This is the actual RSS link: www.anmlmdirectory.com/rssf...cending&thecondition=catid!=8ANDcatid!=9
Try to run that in http://www.feedvalidator.org . It says that there is a <br /> before the < ?xml version="1.0"? > in the feed.
Where is that <br /> coming from?
Thanks
David |
Rating |
0/5 based on 0 votes.
|
Ownership |
david |
Views |
674 views. Averaging 0 views per day. |
Similar Topics |
|
Submission Date |
Aug 08, 2005 - 11:51 PM |