Re: warning:supplied argument to mysql_fetch_array not valid resource type?

From: Date: Wed, 07 Apr 2004 15:39:37 +0000
Subject: Re: warning:supplied argument to mysql_fetch_array not valid resource type?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-182660@lists.php.net to get a copy of this message
On Wednesday 07 April 2004 23:16, Andy B wrote: > anybody know why that is or what the deal is... i had to modify the query > set to read: > mysql_connect(...)||die(mysql_error())//works > $EditQuery="select * from $EventsTable where Id='$edit'"; > $query=mysql_query($EditQuery);//||die(mysql_error()) > //taken out (bug or something??) > mysql_error();//have no clue why its even there it will > //never get ran... > im running php 4.3.3 if it makes any difference on that part Please post the *full* and *concise* code which illustrates your problem. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* It's a funny thing that when a woman hasn't got anything on earth to worry about, she goes off and gets married. */

« previous php.general (#182660) next »