pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robby Russell <rrussell@commandprompt.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Please help: PHP4/postgres db woes
Date: Tue, 09 Mar 2004 10:18:04 -0800
Message-ID: <404E0A5C.1020805@commandprompt.com> (raw)
In-Reply-To: <0A26E2F5-71E3-11D8-ABD1-000A95EB456A@dotgeek.org>
References: <00a001c40531$cb08e270$0301a8c0@Mesa.com>
	<CC9F68D5-71E0-11D8-85B0-0050E466B453@steinrogan.com>
	<0A26E2F5-71E3-11D8-ABD1-000A95EB456A@dotgeek.org>

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@commandprompt.com | Telephone: (503) 222.2783



view thread (12+ messages)  latest in thread

Message-ID: <404E0A5C.1020805@commandprompt.com>
Permalink:  ../404E0A5C.1020805@commandprompt.com/
Also on:    postgresql.org/message-id/404E0A5C.1020805@commandprompt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: rrussell@commandprompt.com
  Subject: Re: Please help: PHP4/postgres db woes
  In-Reply-To: <404E0A5C.1020805@commandprompt.com>
  References: <00a001c40531$cb08e270$0301a8c0@Mesa.com> <CC9F68D5-71E0-11D8-85B0-0050E466B453@steinrogan.com> <0A26E2F5-71E3-11D8-ABD1-000A95EB456A@dotgeek.org> <404E0A5C.1020805@commandprompt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox