Skip to content Skip to sidebar Skip to footer

Warning: Mysql_fetch_array(): Supplied Argument Is Not A Valid Mysql Result In Line 40

Possible Duplicate: mysql_fetch_array() expects parameter 1 to be resource, boolean given in select i keep getting the error Warning: mysql_fetch_array(): supplied argument is

Solution 1:

This error means your query failed. mysql_query() returns false if an error occurred, you are then passing false to mysql_fetch_array() which is triggering the error message.

Your query could be failing due to a missing/wrong table or field. To see the detailed error, print out the result of mysql_error().


The mysql_* library is deprecated. It is recommended to upgrade to MySQLi or PDO.

Post a Comment for "Warning: Mysql_fetch_array(): Supplied Argument Is Not A Valid Mysql Result In Line 40"