<?php
if(isset($error) && $error==true )
{
?>
<div align="center" style="border:1px solid #F00;
background-color:#FFF2FF; width:300px;;">
<?php
echo $errorMessage;
?>
</div>
<?php
}
?>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Registration Form</title>
</head>
<body>
<center>
<form name="userRegistration" action="registration_action.php"
method="post">
<table>
<tr>
<div style="text-align:center; font-size:24px;
color: #3366FF;">Registration Form</div>
</tr>
<br/>
<tr>
<td>User Name:</td>
<td><input name="userName" type="text"
value="<?php if(isset($_POST['userName'])) echo $_POST['userName']; ?>"/>*</td>
</tr>
<tr>
<td>Email Address:</td>
<td><input name="userEmail" type="text"
value="<?php if(isset($_POST['userEmail'])) echo $_POST['userEmail']; ?>"/>*</td>
</tr>
<tr>
<td>Password:</td>
<td><input name="userPassword1"
type="password" value=""/>*</td>
</tr>
<tr>
<td>Confirm Password:</td>
<td><input name="userPassword2"
type="password" value=""/>*</td>
</tr>
<tr>
<td align="right"><input name="submit"
type="submit" value="Submit"/></td>
<td><input name="reset" type="reset"
value="Reset"/></td>
</tr>
</table>
</form>
</center>
</body>
</html>
0 comments:
Post a Comment