pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: ioguix@free.fr
Cc: Marc Fromm <Marc.Fromm@wwu.edu>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: access data in php
Date: Fri, 2 Jan 2009 11:28:15 -0700
Message-ID: <dcc563d10901021028g3867def2p654d56099d177a5@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.0901021900580.1850@xigix.ioguix.net>
References: <B0D7C0A3F35FE144A70312D086CBCA9B0213E18F15@ExchMailbox2.univ.dir.wwu.edu>
	<alpine.DEB.2.00.0901021900580.1850@xigix.ioguix.net>

On Fri, Jan 2, 2009 at 11:09 AM,  <ioguix@free.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.



view thread (8+ messages)  latest in thread

Message-ID: <dcc563d10901021028g3867def2p654d56099d177a5@mail.gmail.com>
Permalink:  ../dcc563d10901021028g3867def2p654d56099d177a5@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10901021028g3867def2p654d56099d177a5@mail.gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott.marlowe@gmail.com, ioguix@free.fr, Marc.Fromm@wwu.edu
  Subject: Re: access data in php
  In-Reply-To: <dcc563d10901021028g3867def2p654d56099d177a5@mail.gmail.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