By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,215 Members | 1,005 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,215 IT Pros & Developers. It's quick & easy.

webpage error

P: 22
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?
Sep 23 '08 #1
Share this Question
Share on Google+
1 Reply


Markus
Expert 5K+
P: 6,050
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 ;)!
Sep 23 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.