Simple example of PHP connecting to a bound PostgreSQL instance and dumping rows from a table.