Re: Newbie alert: supplied argument is not a valid MySQL result resource
| From: | lameck kassana | Date: | Wed, 11 Jul 2007 09:48:13 +0000 |
| Subject: | Re: Newbie alert: supplied argument is not a valid MySQL result resource | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-43767@lists.php.net to get a copy of this message | ||
hey just make this
$sid = mysql_fetch_array($query) or die ('Could not fetch from database:
' ." mysql_error()."); try this