MySQL Forums
Forum List  »  PHP

Re: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
Posted by: Peter Brawley
Date: June 16, 2009 01:56PM

LOL, call mysql_error() is a suggestion, not to be transliterated! For example...

exit( mysql_error() );

or

echo "Error message: ", mysql_error();

Options: ReplyQuote




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.