Connecting Tech Pros Worldwide Forums | Help | Site Map

webpage error

Newbie
 
Join Date: Feb 2008
Posts: 22
#1: Sep 23 '08
having difficult time diagnosing this error

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\Program Files\xampp\htdocs\ACS\new_site\test\image2.php on line 32

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\Program Files\xampp\htdocs\ACS\new_site\test\image2.php on line 34

if i refresh the page a few times it works fine. sometimes it works fine all by itself. The page has been active for several months with no issue as well. I have tried rebooting the host and stopping/restarting apache and mysql but still persists. any ideas on what to look for?

Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,949
#2: Sep 23 '08

re: webpage error


Hey, Matt.

As the error states: you're not passing a valid result resource.

However, I, nor any others around here, can tell you how to rectify that without seeing your 'code'.

Remember: code tags ;)!
Reply