Chapter 18. Interacting with MySQL Using PHP
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 commands you learned in the previous chapter are the same commands that you send to MySQL in this chapter, only this time you send them with PHP.
MySQL or MySQLi Functions?
If you are returning to PHP from working with it years earlier, or have worked with current versions of PHP but with very old versions of MySQL, you might have used the mysql_*
family of functions. You might also find code examples all over ...
Get Sams Teach Yourself PHP, MySQL® and Apache All in One, Fifth 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.