Re: access data in php

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: ioguix(at)free(dot)fr
Cc: "Marc Fromm" <Marc(dot)Fromm(at)wwu(dot)edu>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: access data in php
Date: 2009-01-02 18:28:15
Message-ID: dcc563d10901021028g3867def2p654d56099d177a5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Jan 2, 2009 at 11:09 AM, <ioguix(at)free(dot)fr> wrote:
> pg_fetch_assoc behave like pg_fetch_array: it increments the internal
> pointer to the current result.
> So if you call it once, then pg_fetch_array will return the 2nd result in
> the result set.

Wow, I'm so used to seeing

$rows = pg_num_rows() that that's what I saw up there.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Marc Fromm 2009-01-02 19:40:08 Re: access data in php
Previous Message ioguix 2009-01-02 18:09:22 Re: access data in php