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
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);
---
, 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
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,
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
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
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
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
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