Re: getting integer result from 4.1

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: <brew(at)theMode(dot)com>
Cc: Mark Nelson <MCN(at)cc(dot)usu(dot)edu>, <PGSQL-PHP(at)postgresql(dot)org>
Subject: Re: getting integer result from 4.1
Date: 2002-12-06 19:01:11
Message-ID: Pine.LNX.4.33.0212061200190.20530-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On Fri, 6 Dec 2002 brew(at)theMode(dot)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.

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Mark Nelson 2002-12-06 19:12:41 Re: getting integer result from 4.1
Previous Message brew 2002-12-06 18:47:33 Re: getting integer result from 4.1