MySQL Forums
Forum List  »  PHP

Re: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in public_html/games.php on line 16
Posted by: Bob Field
Date: January 22, 2007 10:22PM

This error message indicates that an error occurred in the call to mysql_query, which is indicated by a return of FALSE. FALSE is not a valid resource identifier, and so you get the error shown. When mysql_query returns FALSE, you should echo the error message indicated by mysql_error() to find out what the real error was.

Options: ReplyQuote


Subject
Written By
Posted
Re: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in public_html/games.php on line 16
January 22, 2007 10:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.