So this is my code :

Code:
<h1>Registeration Form</h1><br /><br />
<?php
	include("includes/config.php");
	include("function/db.php");
    //error handling
    if (isset($_GET['error'])){
        if (($_GET['error']) == "nu"){
        echo "<p>You did not enter a username.</p><br />";}
        if (($_GET['error']) == "np"){
        echo "<p>You did not enter a password.</p><br />";}
        if (($_GET['error']) == "nrp"){
        echo "<p>You did not enter the second password.</p><br />";}
        if (($_GET['error']) == "ne"){
        echo "<p>You did not enter an email address.</p><br />";}
        if (($_GET['error']) == "ndob"){
        echo "<p>You did not enter your date of birth.</p><br />";}
	if (($_GET['error']) == "pne"){
	echo "<p>Passwords do not match.</p><br />";}
        if (($_GET['error']) == "ue"){
        echo "<p>The username you chose already exists. Choose another one.</p><br />";}
	if (($_GET['register']) == "suc"){
	echo "<p>Registration is successful.</p><br />";}
    }
?>

<form action="<?php echo $_SERVER['PHP_SELF']; ?>?maple=register" method="post">
<p>Username</p><br />
<form type="text" name="username" value=""><br />
<p>Password</p><br />
<form type="password" name="password" value=""><br />
<p>Repeat Password</p><br />
<form type="password" name="passwordre" value=""><br />
<p>E-mail</p><br />
<form type="text" name="email" value=""><br />
<p>Date of Birth</p><br />
<form type="text" name="dob" value=""><br />
<form type="submit" value="submit">
<?PHP
		if(($_POST['username'] == "")){header("Location: index.php?maple=register&error=nu");}
		if(($_POST['password'] == "")){header("Location: index.php?maple=register&error=np");}
		if(($_POST['passwordre'] == "")){header("Location: index.php?maple=register&error=nrp");}
		if(($_POST['email'] == "")){header("Location: index.php?maple=register&error=ne");}
		if(($_POST['dob'] == "")){header("Location: index.php?maple=register&error=ndob");}
		$username=mysql_real_escape_string($_POST['username']);
		$dob=mysql_real_escape_string($_POST['dob']);
		$email=mysql_real_escape_string($_POST['email']);
		if(($_POST['password'] == $_POST['passwordre'])){$password=sha1($_POST['password']);} else {header("Location: index.php?maple=register&pne");}
		//check for duplicate usernames...
		$user_query=mysql_query("SELECT COUNT(*) FROM `accounts` WHERE `name` = '". $_POST['username'] ."'") or die(mysql_error());
		$chkuser=mysql_fetch_array($user_query);
		if($chkuser != 0){header ("Location: index.php?maple=register&error=ue");}
		else {
		$add_user="INSERT INTO `accounts` (`id`, `name`, `password`, `birthday`, `email`, `macs`) VALUES (NULL, $username, $password, $dob, $email, "0")";
		mysql_query($add_user) or die(mysql_error());
		header("Location: index.php?maple=register&register=suc");
		}?>
Now whenever i access the page I get this error.

Code:
Parse error: syntax error, unexpected T_LNUMBER in C:\wamp\www\register.php on line 53
So can you guys help me get around this error?