Dynamo3209
Programmer
Hi,
I am new to php. Developing a Survey site using php sessions.I have three php pages for surve, a user is taken to the next page depending upon what his answers are to the previous page questions. Can in any way I can retrieve the choices entered my the user on the first page at the en page as I want to save the entire data in a database after the user fully completes the survey.
Plz help.
I am doing it like this
but not able to retrieve the session data entered on the first page of the survey at the end page of the survey to enter it into the database, once the survey is fully completed by the user.
Thanks
I am new to php. Developing a Survey site using php sessions.I have three php pages for surve, a user is taken to the next page depending upon what his answers are to the previous page questions. Can in any way I can retrieve the choices entered my the user on the first page at the en page as I want to save the entire data in a database after the user fully completes the survey.
Plz help.
I am doing it like this
Code:
foreach($HTTP_POST_VARS as $key=>$value)
{
$SURVEY[$key] = $value ;
echo ("$key = > $value<BR>\n");
}
Thanks