RE: Using Query Results in a Form

2002-11-05 Thread John Meyer
oops, I meant mysql_fetch_array($result,MYSQL_ASSOC); -Original Message- From: John Meyer [mailto:johnmeyer_1978@;yahoo.com] Sent: Tuesday, November 05, 2002 7:10 PM To: John Coder; Ben C. Cc: [EMAIL PROTECTED] Subject: RE: Using Query Results in a Form in php "> -Original

RE: Using Query Results in a Form

2002-11-05 Thread John Meyer
in php "> -Original Message- From: John Coder [mailto:jcoder@;insightbb.com] Sent: Tuesday, November 05, 2002 7:04 PM To: Ben C. Cc: [EMAIL PROTECTED] Subject: Re: Using Query Results in a Form On Tue, 2002-11-05 at 20:23, Ben C. wrote: > I am using the following quer

Re: Using Query Results in a Form

2002-11-05 Thread John Coder
On Tue, 2002-11-05 at 20:23, Ben C. wrote: > I am using the following query: > > $sql ="SELECT company, name, email FROM $table_name >WHERE email = '$_POST[email]' AND password = password('$_POST[password]')"; > > Then I am echoing the $email on my form (it works because the person has

Using Query Results in a Form

2002-11-05 Thread Ben C .
I am using the following query: $sql ="SELECT company, name, email FROM $table_name WHERE email = '$_POST[email]' AND password = password('$_POST[password]')"; Then I am echoing the $email on my form (it works because the person has posted their e-mail name when logging in). How can I