CHAPTER 18Interacting with MySQL Using PHP
What You’ll Learn in This Chapter:
How to connect to MySQL using PHP
How to insert and select data through PHP scripts
Now that you have learned the basics of PHP and the basics of working with MySQL, you are ready to make the two interact. Think of PHP as a conduit to MySQL: The statements and queries you learned to use in the previous chapter are the same statements and queries that you send to MySQL in this chapter, only this time you send them with PHP. Putting these two pieces together will help ...
Get SamsTeachYourself PHP, MySQL & JavaScript: All in One, 6th Edition 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.