Team LiB
Previous Section Next Section

Appendix I. PHP and PEAR DB API Reference

This appendix describes the application programming interface for writing PHP scripts that use the PEAR DB module to interface with MySQL. The API consists of a set of methods 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 PEAR DB module. For complete client scripts and instructions for writing them, see Chapter 8, "Writing MySQL Programs Using PHP." The methods described here are those that pertain directly to database programming. PEAR also has many other modules. For a complete list and supporting documentation, visit the PEAR Web site:

http://pear.php.net/

The manual for PHP itself is available at the PHP Web site:

http://www.php.net/

    Team LiB
    Previous Section Next Section