Re: [PHP] registering a session variable from a select statment.

2002-03-05 Thread Erik Price
On Tuesday, March 5, 2002, at 06:54 AM, Matthew Darcy wrote: > $sql_authorisation = "SELECT * FROM account_details WHERE > account_name='$login_username' AND > account_password=PASSWORD'$login_password')"; > $sql_authorisation_result = mysql_query($sql_authorisation); > > I then register 2 sess

[PHP] registering a session variable from a select statment.

2002-03-05 Thread Matthew Darcy
Hi, I have a user auth script. Very simple and works. when I check the username and password I check it against a select all the values from the user table where the username and password match. (inputted from a 2 text boxes) like so //sets and runs SQL statement that brings back all info on u