From: scott.marlowe <scott.marlowe@ihs.com>
To: brew@theMode.com
Cc: Mark Nelson <MCN@cc.usu.edu>
Cc: PGSQL-PHP@postgresql.org
Subject: Re: getting integer result from 4.1
Date: Fri, 6 Dec 2002 12:01:11 -0700 (MST)
Message-ID: <Pine.LNX.4.33.0212061200190.20530-100000@css120.ihs.com> (raw)
In-Reply-To: <Pine.BSF.4.44.0212061346280.84038-100000@themode.com>
On Fri, 6 Dec 2002 brew@theMode.com wrote:
>
> > I have an update statement that queries a db and updates wheere
> > it finds matches.
>
> Ooops, I just noticed it was an update statement, but there is a function
> for that, too, pg_affected_rows, I think.
Note that the pg_affected_rows was added as of php version 4.2.0, so
you'll need to upgrade from 4.1 to get that functionality.
4.3 is in RC2 or so right now, so you might wanna wait a week or two for
the new version of php to come out.
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: scott.marlowe@ihs.com, brew@theMode.com, MCN@cc.usu.edu
Subject: Re: getting integer result from 4.1
In-Reply-To: <Pine.LNX.4.33.0212061200190.20530-100000@css120.ihs.com>
References: <Pine.BSF.4.44.0212061346280.84038-100000@themode.com> <Pine.LNX.4.33.0212061200190.20530-100000@css120.ihs.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