PHP's programming interface to PostgreSQL is based on PostgreSQL's C library, and therefore the PHP interface is similar to the C interface of PostgreSQL. Inserting, retrieving, and selecting data can be done by sending SQL statements to the database. To extract data from the result, PostgreSQL provides various methods. Depending on what you like best, data can be retrieved as rows, records, or objects. |