<?php 
} 
function error_message($message, $name, $email, $url, $username, $password) { 
?>
<!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=shift_jis" />
<title>Untitled Document</title>
</head>

<body>

			<?php echo $message;?> //error message

<FORM action="<?php echo $_SERVER['PHP_SELF']; ?>?action=signup" method="post">
 
<P>Name: <INPUT type="text" name="name" value="<?php echo $name;?>"> 

<P>E-mail Address: <INPUT type="text" name="email" value="<?php echo $email;?>"> 

<P>Desired Username: <INPUT type="text" name="username" value="<?php echo $username;?>">
 
<P>Password: <INPUT type="password" name="password" value="<?php echo $password;?>"> 

<P><INPUT type="submit" value="Sign-up"> 
</FORM> 
</body>
</html>
