|
pg_fetch_arrayDescription
Returns: An array that corresponds to the fetched row, or false if there are no more rows. Pg_fetch_array() is an extended version of pg_fetch_row(). In addition to storing the data in the numeric indices of the result array, it also stores the data in associative indices, using the field names as keys. The third optional argument result_type in pg_fetch_array() is a constant and can take the following values: PGSQL_ASSOC, PGSQL_NUM, and PGSQL_BOTH.
An important thing to note is that using pg_fetch_array() is NOT significantly slower than using pg_fetch_row(), while it provides a significant added value. For further details, see also pg_fetch_row()
|
|||||||||||||||||||
With any suggestions or questions please feel free to contact us |