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

 Share

×
×
  • Create New...