PHP and MySQL

One huge benefit of using a scripting language like PHP is the ability to generate dynamic content. However, it is important to consider the source of that content. We have already seen how input can be received from the user — from session storage, and from flat text files. Now, we will learn how to use the power of a relational database to serve content for a PHP-driven application.