Chapter 11: Creating Directories This section of Chapter 11 has a few problems with Step 11. The HTML code does not match the PHP conditionals. The code should read as the following:
<form action="register.php" method="post">
<p>Username:
<input type="text" name="username" size="20"></p>
<p>Password:
<input type="password" name="password1" size="20"></p>
<p>Confirm Password:
<input type="password" name="password2" size="20"></p>
<input type="submit" name="submit" value="Login">
</form>
The bold parts are the code that is missing in order to make this script work. The code is correct on the image script that's in the book.