MySQL Forums
Forum List  »  PHP

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

What's the puzzle with the error messages? The first implies a query error, the second implies that one error was that there's no database was selected, so why not add if( !mysql_select_db( "dbname" )) ...?

PB
http://www.artfulsoftware.com

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.