Error: Parse error: syntax error, unexpected $end in /home/content/14/7688814/html/812/register.php on line 72 <!DOCTYPE HTML 5> <head> <title>Register</title> </head> <body> </body> </html> <?php if(isset($_SESSION['user_id'])) { $url = 'http://812402.com/812/index.php'; } else { if(isset($_POST['submitted'])) { if(isset($_POST['username'])) { } else { echo '<font color="red"><b>Please enter a username!</b></font color>'; } if(isset($_POST['password'])) { } else { echo '<font color="red"><b>Please enter a password!</b></font color>'; } if(isset($_POST['password2'])) { if($_POST['password'] == $_POST['password2']) { } else { echo '<font color="red"><b>The two passwords must match!</b></font color>'; } } else { echo '<font color="red"><b>Please enter a confirming password!</b></font color>'; } } else { echo '<h1>Register</h1>'; }; ?> <form action="register.php" method="post" action="register.php"> <p align="center"><input type="text" maxlength="45" name="username" value="username"></p> <p align="center"><input type="password" name="password" maxlength="50" value="password"></p> <p align="center"><input type="password" name="password2" maxlength="50" value="confirm password"></p> <p align="center"><input type="text" name="email" maxlength="50" value="email"></p> <input type="hidden" name="submitted" value="TRUE"> <p align="center"><input type="submit value="Join!"> </form> Code (markup): I've looked it over and can't seem to find the problem. Could someone help?