Note, that when you retrieve some PG boolean value, you get 't' or 'f' characters which are not compatible with PHP bool.
![]() |
|
||||||||||
|
pg_fetch_rowОписаниеarray pg_fetch_row ( resource result [, int row] )
pg_fetch_row() fetches one row of data from
the result associated with the specified
Список параметров
Возвращаемые значенияAn array, indexed from 0 upwards, with each value represented as a string. Database NULL values are returned as NULL.
FALSE is returned if Примеры
pg_fetch_row
pletiplot at seznam dot cz
06-Jun-2006 03:18
Note, that when you retrieve some PG boolean value, you get 't' or 'f' characters which are not compatible with PHP bool.
post at zeller-johannes dot de
26-Apr-2005 02:51
I wondered whether array values of PostgreSQL are converted to PHP arrays by this functions. This is not the case, they are stored in the returned array as a string in the form "{value1 delimiter value2 delimiter value3}" (See http://www.postgresql.org/docs/8.0/interactive/arrays.html#AEN5389).
maxnamara at yahoo dot com
14-Oct-2004 12:03
Get downlines, put them into arrays.
Matthew Wheeler
22-May-2003 09:29
Note that the internal row counter is incremented BEFORE the row is retrieved. This causes an off by one error if you try to do:
imantr at cbn dot net dot id
23-Jul-2002 08:38
I use the following code to assigning query result to an array.
darw75 at swbell dot net
22-Aug-2001 05:39
a way to do this with 2 loops to insert data into a table...
rtreat2 at tampabay dot rr dot com
23-Oct-2000 05:41
the mysql way.... |