In Chapter 13, we discussed how the triad of MySQL, PHP, and the Apache web server is one of the most popular web development platforms. In this chapter, we introduce you to building web database applications for this platform. We cover the following topics:
An introduction to the PHP language
How the commonly used MySQL library functions are used to access the MySQL DBMS
How to handle MySQL DBMS errors, use include files to modularize code, and secure user data
How to write data to databases and manage sessions in applications
PHP has a large set of libraries available that can be used for tasks as diverse as string manipulation, network communications, data compression, and disk access. We can only touch on some of these in this book; you’ll find the PHP manual and the resources listed at the end of this chapter invaluable as you learn more about the language.