I'm very new to php so these are one of the problems with my first asm.
How to print the value of radio buttons, checkbox and listbox from one page to other page.
========================================================
page 1:
Here is the radion buttons code::
Gender :: </b><input type="radio" name="Gender" value="M" checked <?php print $Male; ?>>Male
<input type="radio" name="Gender" value="F" <?php print $Female; ?>>
Female
Here is the listbox code::
<b>Date of Birth :: </b><select name = "Date" size=1>
<?php
for ($i=0;$i<31;$i++)
//for($i=0; $i<count($DateCode);$i++)
{
$SelectNo = "";
if ($Date == $DateCode[$i]) $SelectNo = "selected";
print "<option value = '$DateCode[$i]' $SelectNo> $DateNumber[$i]";
}
?>
</select>
Here is the checkbox code:
<input type="checkbox" name="EducationalEvidence" value="EductionEvidence" checked <?php print $EducationEvidence;?>> You want to see my educational Evidence<BR>
<input type="checkbox" name="Interests" value="Interests" checked <?php print $Interests;?>> You want to share your interest with me!!!<BR>
<input type="checkbox" name="Others" value="Others" checked <?php print $Others;?>> Others.. Please specify
<input type="text" name="Specify" size=30 maxlength=150 value = <?php print $Specify;?>>
========================================================
I've already done for session_register... so the rest of the problems is how to print their values?