MySQL Forums
Forum List  »  PHP

Re: mysql_fetch_assoc(): supplied argument is not a valid MySQL error
Posted by: Peter Brawley
Date: March 11, 2013 02:07PM

You forgot to check the result of the query call, eg ...

$result = mysql_query("...") or exit( mysql_error() );

Options: ReplyQuote


Subject
Written By
Posted
Re: mysql_fetch_assoc(): supplied argument is not a valid MySQL error
March 11, 2013 02:07PM


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.