PHP ʖ²ἯTH
º/A
ingres_fetch_object
Description
¾¯¸漯B
ingres_fetch_object() Returns an object that corresponds to the fetched row, or FALSE if there are no more rows.
The optional argument result_type is a constant and can take the following values: INGRES_ASSOC, INGRES_NUM, and INGRES_BOTH.
=ד 1. ingres_fetch_object() example
?php ingres_connect ($database, $user, $password); ingres_query ("select * from table"); while ($row = ingres_fetch_object()) {echo $row- user_id; echo $row- fullname;}?
See also ingres_query(), ingres_num_fields(), ingres_field_name(), ingres_fetch_array(), and ingres_fetch_row().
º/A
ưµ㼯A
ingres_fetch_array
ɏһ¼¶
ingres_fetch_row