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 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 > [EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php