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!

"Jason Wong" <[EMAIL PROTECTED]> wrote in message
> On Thursday 30 May 2002 00:17, Jas wrote:
> > Ok here is my problem, I set this up so a user selects a name form a
> > box and that name or $user_id is then  passed to this page so the user
> > edit the contact info etc.  However it does not pull the selected
> > and place each field into my form boxes, all I get is a Resource ID #2.
> > Not sure how I can over come this...
> >
> > $table = "auth_users";
> >  $record = @mysql_query("SELECT * FROM $table WHERE user_id =
> > '$user_id'",$dbh);
> Make liberal use of error checking (see manual) and mysql_error().
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> /*
> grep me no patterns and I'll tell you no lines.
> */

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to