RE: [PHP] warning:supplied argument to mysql_fetch_array not valid resource type?
| From: | Jay Blanchard | Date: | Wed, 07 Apr 2004 15:00:38 +0000 |
| Subject: | RE: [PHP] warning:supplied argument to mysql_fetch_array not valid resource type? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182648@lists.php.net to get a copy of this message | ||
[snip]
i have this query set:
$EditQuery="select * from $EventsTable where Id='$edit'";
$query=mysql_query($EditQuery)||die(mysql_error());
[/snip]
You forgot the connection string arguement in mysql_query