Using info from a MySQL Query

From: Date: Wed, 06 Nov 2002 01:09:05 +0000
Subject: Using info from a MySQL Query
Groups: php.general 
Request: Send a blank email to php-general+get-122901@lists.php.net to get a copy of this message
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.

« previous php.general (#122901) next »