This chapter gave you a guided tour of some new PHP techniques to handle user input and to validate user data. You saw how to display all the data in a form, how to read user input in custom arrays, and how to create single-page PHP applications. You also saw how to validate user input, including how to insist that data be present, or that it be a number or text.