List:General Discussion« Previous MessageNext Message »
From:SteveH Date:August 15 2002 8:50pm
Subject:Re: Supplied argument is not a valid MySQL result resource!!
View as plain text  
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);
> -----------
> i get the follownig error:

> Warning: Supplied argument is not a valid MySQL result resource in
> /z/mercury/www/niksun/admin/add_doc.php on line 107
> element type:

> What is it happening so!!
> regards
> anil

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