Creating functions
Passing data to functions
Creating default arguments
Creating variable-length argument lists
Returning data from functions
Returning multiple items from a function
Working with text fields, checkboxes, and radio buttons
Handling multiple-selection HTML controls
Uploading files
This chapter continues your guided tour of PHP with handling PHP functions and HTML controls. PHP functions are just as important in PHP as in JavaScript, but there’s some added power in PHP compared to JavaScript. And working with HTML controls is the whole main point of using server-side scripting for many developers. You’re going to see both in this chapter.
Cross-Ref | For an introduction to using PHP with Ajax, see Chapter 12. |