php sessions
Posted: Tue May 13, 2003 1:49 am
hi!
I'm making a student registration system using mysql and php.The first page has the username and password for admin/employee log-in, and i've used session for that entry.
With the employee log-in, the second page has the Student ID entry and i used session for this also, but im getting errors.I want to know how to use a session inside another session.I may be wrong in doing this as im using php for the first time, or is it that, we have to declare all the sessions together or something like that, which im not sure,but would appreciate if anyone could help me with the exact syntax.thanks! (* the first session is for the admin/employee log-in, and the second one is for the student ID).
I'm making a student registration system using mysql and php.The first page has the username and password for admin/employee log-in, and i've used session for that entry.
With the employee log-in, the second page has the Student ID entry and i used session for this also, but im getting errors.I want to know how to use a session inside another session.I may be wrong in doing this as im using php for the first time, or is it that, we have to declare all the sessions together or something like that, which im not sure,but would appreciate if anyone could help me with the exact syntax.thanks! (* the first session is for the admin/employee log-in, and the second one is for the student ID).