Re: PostgreSQL driver and internal row counting

From: Date: Mon, 08 Oct 2001 14:44:21 +0000
Subject: Re: PostgreSQL driver and internal row counting
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-67549@lists.php.net to get a copy of this message
Gavin Sherry wrote: > > On Mon, 8 Oct 2001, Sebastian Bergmann wrote: > >> Gavin Sherry wrote: >>> $row = pg_fetch_array($res,PGSQL_ASSOC); >> >> So I have to stick to the old way, if I want to pass PGSQL_ASSOC? >> This sucks. > > As I said in my prior email, it defaults to PGSQL_BOTH. So PGSQL_ASSOC > *is* supported if 'row' is omitted (by default). So I can use $row = pg_fetch_array($res) without changing the rest of the code? Cool :-) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

« previous php.dev (#67549) next »