O'Reilly logo

Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test Your Knowledge

  1. What is the standard PHP function for connecting to a MySQL database?

  2. When is the mysql_result function not optimal?

  3. Give one reason why using the POST form method is usually better than GET.

  4. How can you determine the most recently entered value of an AUTO_INCREMENT column?

  5. Which PHP function escapes a string, making it suitable for use with MySQL?

  6. Which function can be used to prevent XSS injection attacks?

See Chapter 10 Answers in Appendix A for the answers to these questions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required