msql_fetch_object
(PHP 3, PHP 4 )
msql_fetch_object -- Fetch row as object
Description
int msql_fetch_object ( int query_identifier)
Returns an object with properties that correspond to the
fetched row, or FALSE if there are no more rows.
msql_fetch_object() is similar to msql_fetch_array(), with
one difference - an object is returned, instead of an array.
Indirectly, that means that you can only access the data
by the field names, and not by their offsets (numbers are
illegal property names).
Speed-wise, the function is identical to msql_fetch_array(),
and almost as quick as msql_fetch_row() (the difference
is insignificant).
See also: msql_fetch_array() and msql_fetch_row().
msql_fetch_row
(PHP 3, PHP 4 )
msql_fetch_row -- Get row as enumerated array
Description
array msql_fetch_row ( resource query_identifier)
Returns an array that corresponds to the fetched row, or
FALSE if there are no more rows.
msql_fetch_row() fetches one row of data from the result
associated with the specified query identifier. The row
is returned as an array. Each result column is stored in
an array offset, starting at offset 0.
Subsequent call to msql_fetch_row() would return the next
row in the result set, or FALSE if there are no more rows.
See also: msql_fetch_array(), msql_fetch_object(), msql_data_seek(),
and msql_result().