Jump to content
skaterdav85

Mysql_fetch_object Warning?

Recommended Posts

So i recently uploaded my site to a godaddy server and i get this error:Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/content/s/k/a/skaterdav85/html/index.php on line 9Does anyone know what this means? This never came up when i was using MAMP for my localhost.Thanks!

Share this post


Link to post
Share on other sites

When it says you're passing something that is not a mysql resource that generally means the query you tried to run had an error and failed.

Share this post


Link to post
Share on other sites

Ok i figured out what happened. I took out a module on my site that no longer used a certain table, but my code for that page still made a query to that table that didnt exist. thanks!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...