ry is
returning something.
-Original Message-
From: Anil Garg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 05:34 PM
To: SteveH; [EMAIL PROTECTED]
Subject: Re: Supplied argument is not a valid MySQL result resource!!
hi,
m sorry i dint mention that its just a part of code.
i am able t
At 8/16/2002, 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);
>---
>i get the follownig error:
>
>Warning: Supplied argument is not a valid MySQL result reso
can u plz tell me how can i check that?
regards
anil
- Original Message -
From: "Dan Nelson" <[EMAIL PROTECTED]>
To: "Anil Garg" <[EMAIL PROTECTED]>
Cc: "SteveH" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002
quot; <[EMAIL PROTECTED]>
> To: "Anil Garg" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, August 15, 2002 5:40 PM
> Subject: Re: Supplied argument is not a valid MySQL result resource!!
>
>
> > Hi,
> >
> > try :
> >
>
0 PM
Subject: Re: Supplied argument is not a valid MySQL result resource!!
> Hi,
>
> try :
>
> > $qid = mysql_query("
> > SELECT *
> > FROM 1_nodedata
> > WHERE id = '$edit_id'
> > ");
> > $frm = mysql_fetch_array($qid)
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_fet
Hi,
try :
> $qid = mysql_query("
> SELECT *
> FROM 1_nodedata
> WHERE id = '$edit_id'
> ");
> $frm = mysql_fetch_array($qid);
(what does echo "edit_id : $edit_id"; display ?)
Regards,
Jocelyn
- Original Message -
From: "Anil Garg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent
IL PROTECTED]>
Sent: Thursday, August 15, 2002 4:50 PM
Subject: Re: Supplied argument is not a valid MySQL result resource!!
> Anil,
>
> You never created a connection.
> mysql_connect()
>
>
> Regards.
>
>
>
>
>
> Thursday, August 15, 2002, 1:12:21
Anil,
You never created a connection.
mysql_connect()
Regards.
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);
>