Chapter 18. MySQL PHP API Reference

In this chapter, we list the functions that allow you to access the MySQL DBMS from PHP. We begin by discussing two database-specific data types used in many of these functions. The functions are then presented alphabetically with descriptions, and each includes an example code fragment. An introduction to PHP and examples of using PHP to access a MySQL DBMS are presented in Chapter 11. This chapter is based on Version 4.1.2, which was the version of PHP available at the time this book was written, but some differences between versions are discussed.

Get Managing & Using MySQL, 2nd 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.