Webmastersite.net
Register Log In

A MySQL error that I don't understand
/directory/databases/mysql.php line 27 (and 30)

Comments on A MySQL error that I don't understand

midwestmedia


Usergroup: Customer
Joined: Apr 17, 2004

Total Topics: 21
Total Comments: 50
Posted Jul 20, 2008 - 2:47 PM:

I'm getting an error at the top of my index page of my directory that reads:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/.desmond/hostingp/helpmywedding.com/directory/databases/mysql.php on line 27


Line 27 of mysql.php reads:

function numrows($q) { return mysql_num_rows($q); }

And at the top of my admin panel I get a similar error:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/.desmond/hostingp/helpmywedding.com/directory/databases/mysql.php on line 30

Line 30 of mysql.php reads:

function row($result) { return mysql_fetch_row($result); }

Any ideas on how to remedy this?

Thanks in advance, Paul!

Jennifer
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 21, 2008 - 5:41 AM:

Please read scripts.webmastersite.net/w...icles/mysql-errors-66.html and post the debug. Or a URL where I can find it myself.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.