Chapter 16. Interacting with MySQL Using PHP

Now that you've learned the basics of the PHP as well as the basics of working with MySQL, you're ready to make the two interact. Think of PHP as a conduit to MySQL—the commands you learned in the previous chapter are the same commands that you will send to MySQL in this chapter, only this time you'll send them with PHP. In this chapter, you will learn

  • How to connect to MySQL using PHP

  • How to insert and select data through PHP scripts

Get Sams Teach Yourself PHP, MySQL® and Apache All in One 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.