I have 3 pages, each with forms; all in the same domain. The data from the first page passes to the 2nd and 3rd ok {First, Last, Addr, City}. On the 2nd I create the session variables:
<?php
session_start();
session_destroy();
session_register(“sessFirst”);
session_register(“sessLast”);
session_register(“sessAddr”);
session_register(“sessCity”);
session_register(“sessApplSex”);
session_register(“sessCounty”);
$sessFirst = $HTTP_POST_VARS[‘First’];
$sessLast = $HTTP_POST_VARS[‘Last’];
$sessAddr = $HTTP_POST_VARS[‘Addr’];
$sessCity = $HTTP_POST_VARS[‘City’];
$sessApplSex = $_POST[‘Appl_Sex’];
$sessCounty = $
?>
<%@LANGUAGE=”JAVASCRIPT” CODEPAGE=”1252″%>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “
<html xmlns=”
……………….
The form on page 2 has two additional fields, County and Appl_Sex {= a radio button} whose values I would like to pass to page3.
Here’s some snippets:
……………
<td >
<input name=”Appl_Sex” id=”App_Male” class=”req” type=”radio” value=”Male” tabindex=”20″/><label> Male </label>
<input type=”radio” name=”Appl_Sex” id=”App_Female” class=”req” value=”Female” tabindex=”21″ /><label > Female </label>
</td>
………………
<form action=”
…………………..
On page 3, value=”<?php echo $_POST[‘Appl_Sex’]; ?>” /> and value=”<?php echo $sessCounty; ?>” /> both produce value = “”.
Any clues how to solve???