Webmastersite.net
Register Log In

A MySQL error that I don't understand

Title A MySQL error that I don't understand
Description /directory/databases/mysql.php line 27 (and 30)
Message Text 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
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership midwestmedia
Views 273 views. Averaging 0 views per day.
Similar Topics
Submission Date Jul 20, 2008 - 2:47 PM