I sort figured out what the problem. Still having issues though. I think it has something to do with persitant connections maybe????
Anyhow, I replaced this:
Quote:
$gettotalpoint=mysql_query
|
with this:
Quote:
$gettotalpoint=$DB_site->query_first
|
and the errors that pointed to those lines dissappeared. The existing errors are
Quote:
Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/index.php3 on line 116
Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/index.php3 on line 123
Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/index.php3 on line 130
Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/html/sweeps/forum_dev/index.php3 on line 133
|
And these are the lines that those point to.
Quote:
line 116 - $numrows_gettotal = mysql_num_rows($gettotalpoint);
line 123 - $numrows_gettotal1 = mysql_num_rows($gettotalpoint1);
line 130 - $numrows_getagree = mysql_num_rows($getagree);
line 133 - $numrows_getdis = mysql_num_rows($getdis);
|