Here's the structure of my program.
A user will login (login.php), they will read some instructions (instructions.php), and they will finally be directed to answer some questions in a step by step survey (questions.php). My question is, how can I access variables that were entered back in login.php, such as username or email address for example, when the user has already left that page? I need to insert the answer from each question into the database as it is entered, and I need to locate the current user's table entry and access the MySQL database to do so. Is there some global variable type I can initiate to hold these values? I'm sorry if this is a noob question, I'm still learning.
Help is appreciated.
__________________
CPU: AMD Athlon 64 X2 5200+ Windsor, 2.6 GHz
RAM: CORSAIR XMS2 2GB 240-Pin DDR2
VIDCARD: EVGA PCI-Express x16 GeForce 7900GS 256MB
MOBO: ASUS M2N-SLI Deluxe AM2
HDD: Seagate Barracuda 320GB 7200 RPM SATA
my blog:
http://jspot.gotdns.com