Skip site navigation (1) Skip section navigation (2)

Re: Please help: PHP4/postgres db woes

From: Robby Russell <rrussell(at)commandprompt(dot)com>
To:
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Please help: PHP4/postgres db woes
Date: 2004-03-09 18:18:04
Message-ID: 404E0A5C.1020805@commandprompt.com (view raw or flat)
Thread:
Lists: pgsql-php
David Costa typed this on 03/09/2004 08:01 AM:
> Hello Danny,
> I can't go through your whole script but I recommend you use Pear::DB as 
> an abstraction layer for the pgsql connection and interaction.
> This will give you more power with the debug and you can keep everything 
> simple IMHO.
> 
> More info at 
> http://pear.php.net/manual/en/package.database.php#package.database.db
> 
> It is default on PHP, so you don't even need to install anything.

I'll second this. When he can get the SQL syntax down, then he should 
play with PEAR. :-)

However, I think knowing the standard pg_connect(), pg_query() commands 
would be useful..then when he goes to try PEAR, he'll see how much time 
and more useful it can be.

my 34 cents,

-Robby

-- 
Robby Russell,  |  Sr. Administrator / Lead Programmer
Command Prompt, Inc.   |  http://www.commandprompt.com
rrussell(at)commandprompt(dot)com | Telephone: (503) 222.2783

In response to

pgsql-php by date

Next:From: Markus BertheauDate: 2004-03-15 17:57:51
Subject: Re: Please help: PHP4/postgres db woes
Previous:From: bruceDate: 2004-03-09 16:18:25
Subject: Re: Please help: PHP4/postgres db woes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group