Select Data From Database In Php Using Postgres