note 10422 added to pg_fetch_array

From: Date: Wed, 03 Jan 2001 02:14:22 +0000
Subject: note 10422 added to pg_fetch_array
Groups: php.notes 
Request: Send a blank email to php-notes+get-9302@lists.php.net to get a copy of this message
PGSQL_BOTH is the default, meaning your array size will be doubled. If you specify this field (result type), include no quotes around it or you won't get any data, not even an error. Here's my wrapper function: function SQL_fetch_array($result_ndx, $row, $result_type=PGSQL_ASSOC) { return pg_fetch_array($result_ndx, $row, $result_type); http://www.php.net/manual/function.pg-fetch-array.php

« previous php.notes (#9302) next »