Hi, I have problem updating session variables. Can anyone help?
When I submit the form, the fields still display the "old" values. Why?
_______code____
<?php
$s_Expiry=$Expiry;
$s_Maturity=$Maturity;
session_start();
session_register("s_Expiry");
session_register("s_Maturity");
?>
<FORM ACTION="http://www.yyyy.com/test.php" METHOD=POST> // http://www.yyyy.com/test.php is address for this php code
<td>Expiry</td>
<?php
echo("<td><input type='text' name='Expiry' value=$s_Expiry></td>");
?>
<td>Maturity</td>
<?php
echo ("<td><input type='text' name='Maturity' class='textbox' value=$s_Maturity></td>");
?>
<input type="submit">
</FORM>
__________code end________