Appendix H. PHP API Reference

This appendix describes the PHP application-programming interface for MySQL. The API consists of a set of functions for communicating with MySQL servers and accessing databases.

This appendix serves as a reference, so it includes only brief code fragments illustrating use of the PHP API. For complete client scripts and notes on writing them, see Chapter 8, "The PHP API." The functions described here are those that pertain directly to MySQL. The PHP manual (currently almost 800 pages) contains more than 600 pages of reference material, so obviously this appendix can do no more than summarize a small part of PHP's capabilities. To obtain the complete PHP manual, visit the PHP Web site at the following location:

Get MySQL 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.