O'Reilly logo

Learning PHP, MySQL, and JavaScript 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: Questions

Question 10-1

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

Question 10-2

When is the mysql_result function not optimal?

Question 10-3

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

Question 10-4

How can you determine the last entered value of an AUTO_INCREMENT column?

Question 10-5

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

Question 10-6

Which function can be used to prevent Cross Site Scripting injection attacks?

See the section 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