array fbsql_fetch_array ( resource $result
[, int $result_type
] )
fbsql_fetch_array — Fetch a result row as an associative array, a numeric array, or both
-
result
-
Идентификатор результата запроса, полученный из fbsql_query() или fbsql_db_query().
-
result_type
-
A constant and can take the following values:
FBSQL_ASSOC
,FBSQL_NUM
, orFBSQL_BOTH
.When using
FBSQL_BOTH
, 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.