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 11-1

Form data can be submitted using either the POST or the GET method. Which associative arrays are used to pass this data to PHP?

Question 11-2

What is register_globals and why is it a bad idea?

Question 11-3

What is the difference between a text box and a text area?

Question 11-4

If a form has to offer three choices to a user, each of which is mutually exclusive, so that only one of the three can be selected, which input type would you use for this, given a choice between checkboxes and radio buttons?

Question 11-5

How can you submit a group of selections from a web form using a single field name?

Question 11-6

How can you submit a form field without displaying it in the browser?

Question 11-7

Which HTML tag is used to encapsulate a form element and support text or graphics, making the entire unit selectable with a mouse-click?

Question 11-8

Which PHP function converts HTML into a format that can be displayed but will not be interpreted as HTML by a browser?

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