Chapter 7. Practical PHP

Previous chapters went over the elements of the PHP language. This chapter builds on your new programming skills to teach you some common but important practical tasks. You will learn the best ways to manage string handling to achieve clear and concise code that displays in web browsers exactly how you want it to, including advanced date and time management. You’ll also find out how to create and otherwise modify files, including those uploaded by users.

There’s also a comprehensive introduction to XHTML, a markup language similar to HTML (and which conforms to the XML syntax used to store data such as RSS feeds), and intended to supersede HTML. Together these topics will extend your understanding of both practical PHP programming and developing international web standards.

Get Learning PHP, MySQL, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.