From: Robby Russell <robby@planetargon.com>
To: Steve Bergman <steve@rueb.com>
Cc: pgsql-php <pgsql-php@postgresql.org>
Subject: Re: Status of "associative functions" in php-pgsql?
Date: Thu, 05 Aug 2004 19:59:23 -0700
Message-ID: <1091761162.11448.50.camel@vacant> (raw)
In-Reply-To: <1091758791.16009.69.camel@localhost.localdomain>
References: <1091758791.16009.69.camel@localhost.localdomain>
Take a look at PEAR::DB.
-Robby
On Thu, 2004-08-05 at 19:19, Steve Bergman wrote:
> I have not been able to find any documentation on the "associative
> functions" of php-pgsql (e.g. pg_insert) which supposedly build queries
> based upon an associative array passed to them. It's not a big deal, I
> guess, but this would save a few lines of code in various places. I have
> heard that they were implemented in php 4.2 or so, but were considered
> experimental, and yet there is no sign of them in the documentation for
> php5.
>
> Like I say, it's not a huge problem, but the "insert" syntax (insert
> into table set field='value') of MySQL is nicer, and makes for more
> readable code, when building a query in a loop.
>
> Thanks for any pointers,
>
> Steve
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
--
Robby Russell | Owner.Developer.Geek
PLANET ARGON | www.planetargon.com
Portland, OR | robby@planetargon.com
503.351.4730 | blog.planetargon.com
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: robby@planetargon.com, steve@rueb.com
Subject: Re: Status of "associative functions" in php-pgsql?
In-Reply-To: <1091761162.11448.50.camel@vacant>
References: <1091758791.16009.69.camel@localhost.localdomain> <1091761162.11448.50.camel@vacant>
* 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