$user=$_POST['user'];and then it generates a random string using
$random = $session->generateRandStr(8)and stores it variable $random,
After the page is loaded, they click a button again to go to next page, step #3.
Here is were the problem starts. I want to pas the two varibles to page 3. the variabes are:
$user (varible gotten from a form in page one, it worked fine in page 2)
$random (a variable generated each time the second page is loaded)
I tried carrying the variables in the url using:
but it fail to get them in the third page, I also tried ussing hidden variables, but when I tried to get them in page 3 I got an error:
Parse error: parse error, unexpected T_VARIABLE in /home/dobakat/public_html/members/register3.php
Well can someone help me, please?
If you need the whole code of the 3 pages let me know.