Jump to content
Larry Ullman's Book Forums

Chapter 11 : Creating Directories


Recommended Posts

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.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...