RE: Supplied argument is not a valid MySQL result resource!!

2002-08-16 Thread Roger Davis
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 to delete entries from the database

Re: Supplied argument is not a valid MySQL result resource!!

2002-08-15 Thread SteveH
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); ---

Re: Supplied argument is not a valid MySQL result resource!!

2002-08-15 Thread Anil Garg
, 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 PM, you wrote: Hi, in the piece of code given below --- $qid = mysql_query

Re: Supplied argument is not a valid MySQL result resource!!

2002-08-15 Thread Jocelyn Fournier
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: Thursday,

Re: Supplied argument is not a valid MySQL result resource!!

2002-08-15 Thread Dan Nelson
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

Re: Supplied argument is not a valid MySQL result resource!!

2002-08-15 Thread Anil Garg
yes..it echos $edit_id fine. i am also feeling strange why its not working! regards anil - Original Message - From: Jocelyn Fournier [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

Re: Supplied argument is not a valid MySQL result resource!!

2002-08-15 Thread Jocelyn Fournier
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); (what does echo edit_id : $edit_id; display ?) Regards, Jocelyn

Re: Supplied argument is not a valid MySQL result resource!!

2002-08-15 Thread Anil Garg
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 5:41 PM Subject: Re: Supplied argument is not a valid MySQL result

Re: Supplied argument is not a valid MySQL result resource!!

2002-08-15 Thread Pekka Saarinen
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 resource in