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 posted
>their e-mail name when logging in). How can I echo the company and email on to my
>form as well. Please help.
>
Is this query on your form or the form that the person has filled out?
John Coder
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php