PHP Example
Screen shot
Registration details

<html>
<head>
<title>PHP Example</title>
</head>
<body>
<form name="frm" action="" method="post">
<table border='1'><tr>
<td>First Name:</td>
<td><input type="text" name="fname"></td>
</tr>
<tr>
<td>Last Name:</td>
<td><input type="text" name="lname"></td>
</tr>
<tr>
<td>Gender:</td>
<td><input type="radio" name="sex" value="male">Male<input type="radio" name="sex" value="female">Female</td>
</tr>
<tr>
<td>Hobbies:</td>   
<td>
<input type="checkbox" name="chk1" value="dance">Dance<input type="checkbox" name="chk2" value="reading">Reading NewsPaper<br>
<input type="checkbox" name="chk3" value="newspaper">Listen Music<input type="checkbox" name="chk4" value="cricket">Cricket
</td>
</tr>
<tr>
<td>Country:</td>
<td>
<select name="country">
<option>-Select Country-</option>
<option value="USA">USA</option>
<option value="UK">UK</option>
<option value="INDIA">INDIA</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center"> <input type="submit" name="btn" value="submit"></td>
</tr>
</table>
</form>
<?php
if(isset($_POST['btn'])){
echo "your first name is : ".$_POST['fname']."<br>";
echo "your last name is : ".$_POST['lname']."<br>";
echo "your gender is : ".$_POST['sex']."<br>";
echo "your hobbies are ";
if(isset($_POST['chk1']))
   echo $_POST['chk1'].",";
if(isset($_POST['chk2']))
   echo $_POST['chk2'].",";
if(isset($_POST['chk3']))
   echo $_POST['chk3'].",";
if(isset($_POST['chk4']))
   echo $_POST['chk4'];
   echo "<br>"."your country is : ".$_POST['country']."<br>";}
?>
</body>
</html>    

You can download source code here