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: sachin sharma
Date: July 22, 2008 04:19AM

Hi Syed,

I think the problem is after executeQuery, you are disconnecting from database and then you are trying to mysql_fetch_object on a resource which is lready disconnected.

Try to run the same code after removing line
********************
$mf->disConnect();
********************

Hope it helps you.

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
July 22, 2008 04:19AM


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.