heroku/facebook-template-php — pull request #5 by bhush9 (2011-11-30 06:01:19+00:00)
Title: Database connection demo added.

As many users are coming across the heroku but many of them are upgrading to PostgreSQL from MySQL so here is sample demo for connecting to database of PostgreSQL. Please pull this.

This example get PostgreSQL credentials from the `DATABASE_URL` environment variable and phrase it and return string that can be used to connect to PostgreSQL server.. This is for new users of heroku.

`pg_connection_string_from_database_url()` function will phrase URL.