Any updates / takers on this problem ??
thanks,
Matt.
-Original Message-
From: DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 3:04 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] registering a session variable from a select * query.
What exactly are you trying to accomplish here?
In my script I have a login form.
On the valdation script all my session vars are registered.
I run a script to check to see if the username and password are auth.
If they are I then run some scripts to set the values of the various
session
Hi Phil thanks for taking the time to reply back.
allow me to share my code (still learning so be gentle.)
I register 2 session vars from 2 input boxes. I then select * from the user
table where the to variables match (username and password) if they match I
want to register the auth_level field
A few things here.
Is this the full code you are using?
First thing however is that you have to specifically assign values for a
session variable.
It is simply not enough to register the session variable.
So if you
session_register(login_username);
And echo $login_username it will print
4 matches
Mail list logo