<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>PROFILE DISPLAY</title>

<style type="text/css">
body {
	background-image: url(b2.jpg);
	background-repeat:no-repeat;}
.style1 {
	font-family: "Comic Sans MS";
	font-size: 24px;
}

.style2 {
	font-size: 16px;
	font-weight: bold;
	font-family: "Times New Roman", Times, serif;
}
.style3 {font-family: "Times New Roman", Times, serif; font-size: 16px;}
</style>
</head>

<body>
<br /><br /><br /><br /><br /><br /><br />
<p align="center" class="style1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Welcome, <? echo $_POST["fname"]." ".$_POST["lname"]; ?> 
<br /><br />
<table width="75%" border="0" align="right" cellpadding="8">
  <tr>
    <th colspan="2" align="left" class="style2" scope="col"><hr /></th>
  </tr>
  <tr>
    <th align="left" class="style2" scope="col">Hometown:</th>
    <th width="70%" align="left" class="style3" scope="col"><?echo $_POST["town"]; ?></th>
  </tr>
  <tr>
    <td align="left" class="style2">Sex:</td>
    <td align="left" class="style3"><?echo $_POST["RadioGroup1"]; ?></td>
  </tr>
  <tr>
    <td align="left" class="style2">Birthday:</td>
    <td align="left" class="style3"><?echo $_POST["date"]." ".$_POST["month"]." ".$_POST["year"]; ?></td>
  </tr>
  <tr>
    <td colspan="2" align="left" class="style2"><hr /></td>
  </tr>
  <tr>
    <td align="left" class="style2">Homepage:</td>
    <td align="left" class="style3"><?echo $_POST["homepage"]; ?></td>
  </tr>
  <tr>
    <td align="left" class="style2">Email-Id:</td>
    <td align="left" class="style3"><?echo $_POST["email"]; ?></td>
  </tr>
  <tr>
    <td align="left" class="style2">Address:</td>
    <td align="left" class="style3"><? $line_break=nl2br($_POST['address']);
                                       echo $line_break; ?></td>
  </tr>
  <tr>
    <td align="left" class="style2">Mobile No:</td>
    <td align="left" class="style3"><?echo $_POST["mobile"]; ?></td>
  </tr>
  <tr>
    <td colspan="2" align="left" class="style2"><hr /></td>
  </tr>
  <tr>
    <td align="left" class="style2">Activities(if any):</td>
    <td align="left" class="style3"><? $line_break=nl2br($_POST['activities']);
                                       echo $line_break; ?></td>
  </tr>
  <tr>
    <td align="left" class="style2">Interests(if any):</td>
    <td align="left" class="style3"><? $line_break=nl2br($_POST['interests']);
                                       echo $line_break; ?></td>
  </tr>
  <tr>
    <td align="left" class="style2">Favourite Movies(if any):</td>
    <td align="left" class="style3"><? $line_break=nl2br($_POST['movies']);
                                       echo $line_break; ?></td>
  </tr>
  <tr>
    <td align="left" class="style2">Favourite Books(if any):</td>
    <td align="left" class="style3"><? $line_break=nl2br($_POST['books']);
                                       echo $line_break; ?></td>
  </tr>
</table>

</body>
</html>
