Accessing PostgreSQL from PHP


In this chapter, we examined the ways that a PostgreSQL database can be accessed from the PHP scripting language. We covered the various aspects of database connections, query building and execution, result set manipulation, and error handling. We also introduced the PEAR database abstraction interface.

In the next chapter, we’ll explore how to access a PostgreSQL database from Perl.


Error Message Error Handling Query String Page Request Selection Query 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Neil Matthew and Richard Stones 2005

Personalised recommendations