Re: Resource ID#2 ????
| From: | Jason Wong | Date: | Wed, 29 May 2002 16:51:12 +0000 |
| Subject: | Re: Resource ID#2 ???? | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19501@lists.php.net to get a copy of this message | ||
On Thursday 30 May 2002 00:41, Jas wrote:
> If you look at the previously posted code at the bottom of the form there
> is a echo for the sql select statement that is echoing "Resource id #2" on
> the page. Now that error is the correct field id number in the database, I
> am just not sure how to itemize the data from that table, at least I think.
> Any help would be great!
You are confused -- #2 just happens to coincide with your field id.
You're not RFTM.
mysql_query() returns a result_id ("Resource id #2").
You feed this into a mysql_fetch_row() (or any of the other similar functions)
to actually retrieve records.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
1: No code table for op: ++post
*/