List:General Discussion« Previous MessageNext Message »
From:Anil Garg Date:August 15 2002 9:45pm
Subject:Re: Supplied argument is not a valid MySQL result resource!!
View as plain text  
can u plz tell me how can i check that?
regards
anil
----- Original Message -----
From: "Dan Nelson" <dnelson@stripped>
To: "Anil Garg" <anilg@stripped>
Cc: "SteveH" <steveh@stripped>; <mysql@stripped>
Sent: Thursday, August 15, 2002 5:41 PM
Subject: Re: Supplied argument is not a valid MySQL result resource!!


> In the last episode (Aug 15), Anil Garg said:
> > > Thursday, August 15, 2002, 1:12:21 PM, you wrote:
> > >
> > > > Hi,
> > > > in the piece of code given below
> > > > -----------
> > > > $qid = mysql_query("
> > > >  SELECT *
> > > >  FROM 1_nodedata
> > > >  WHERE id = $edit_id
> > > >  ");
> > > >  $frm = mysql_fetch_array($qid);
> > >
> > hi,
> > m sorry i dint mention that its just a part of code.
> > i am able to delete entries from the database .so i think mysql_connect
is
> > not the reason.
> > please tell if u have some more ideas
>
> You don't check the return value of mysql_query to make sure that it
> succeeded.
>
> --
> Dan Nelson
> dnelson@stripped

Thread
Supplied argument is not a valid MySQL result resource!!Anil Garg16 Aug
  • Re: Supplied argument is not a valid MySQL result resource!!SteveH16 Aug
  • Re: Supplied argument is not a valid MySQL result resource!!Anil Garg16 Aug
    • Re: Supplied argument is not a valid MySQL result resource!!Dan Nelson16 Aug
    • RE: Supplied argument is not a valid MySQL result resource!!Roger Davis16 Aug
  • Re: Supplied argument is not a valid MySQL result resource!!Jocelyn Fournier16 Aug
  • Re: Supplied argument is not a valid MySQL result resource!!Anil Garg16 Aug
  • Re: Supplied argument is not a valid MySQL result resource!!Jocelyn Fournier16 Aug
  • Re: Supplied argument is not a valid MySQL result resource!!Anil Garg16 Aug
  • Re: Supplied argument is not a valid MySQL result resource!!Pekka Saarinen16 Aug