In my html page, i have links like this
<table width="100%" border="0" cellspacing="4" cellpadding="4">
<tr>
<td><a href="ApplicationRegister.php?plan=trial"><img src="images/box4.png" width="230" height="300" /></a></td>
<td><a href="ApplicationRegister.php?plan=plan1"><img src="images/box1.png" width="230" height="300" /></a></td>
<td><a href="ApplicationRegister.php?plan=plan2"><img src="images/box2.png" width="230" height="300" /></a></td>
<td><a href="ApplicationRegister.php?plan=plan3"><img src="images/box3.png" width="230" height="300" /></a></td>
</tr>
</table>
When i click on any one of the image, it will go to ApplicationRegister.php page with plan= corresponding values.
In my ApplicationRegister.php i have a registration form
<form action="emailconfirmation.php" method="post" name="form1" id="form1" onsubmit="return Validate();">
Company Name:
<input type="text" name="CompanyName" style="width:230px; height:20px;" /><br /><br />
Company E-mail :
<input type="text" name="Companyemail" style="width:230px; height:20px;" /><br /><br />
Company Contact <input type="text" name="CompanyContact" style="width:230px; height:20px;" /><br /><br />
Company Address: <input type="text" name="CompanyAddress" style="width:230px; height:20px;" /><br /><br />
<input type="hidden" name="form_submitted" value="1"/>
<input type="submit" value="REGISTER" name="submit" />
</form>
In this page it should take the value from url like plan=trail or plan1... whatever there in the url. then while submitting all the values should be submitted along with these form data.
How to achieve this? Please help.