Jump to content
Larry Ullman's Book Forums

Recommended Posts

Because when the check_login() function is called, you want to return two pieces of information to the user: whether the login was successful and the data retrieved from the MySQL query.

Step 10 on page 375 explains this.

 

Keep in mind that the check_login() function is used in later chapters to ease the process of checking login credentials. As such, to see how the function is actually used, you'll need to see the later chapters.

  • Upvote 2
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...