pg_fetch_array Fetch a row as an array &reftitle.description; arrayfalsepg_fetch_array PgSql\Resultresult intnullrow&null; intmodePGSQL_BOTH pg_fetch_array returns an array that corresponds to the fetched row (record). pg_fetch_array is an extended version of pg_fetch_row. In addition to storing the data in the numeric indices (field number) to the result array, it can also store the data using associative indices (field name). It stores both indices by default. &database.fetch-null; pg_fetch_array is NOT significantly slower than using pg_fetch_row, and is significantly easier to use. &reftitle.parameters; result &pgsql.parameter.result; row Row number in result to fetch. Rows are numbered from 0 upwards. If omitted or &null;, the next row is fetched. mode &pgsql.parameter.mode; &reftitle.returnvalues; An array indexed numerically (beginning with 0) or associatively (indexed by field name), or both. Each value in the array is represented as a string. Database NULL values are returned as &null;. &false; is returned if row exceeds the number of rows in the set, there are no more rows, or on any other error. Fetching from the result of a query other than SELECT will also return &false;. &reftitle.changelog; &Version; &Description; &pgsql.changelog.result-object; &reftitle.examples; <function>pg_fetch_array</function> example ]]> &reftitle.seealso; pg_fetch_row pg_fetch_object pg_fetch_result