php man page for fbsql_fetch_object

Query: fbsql_fetch_object

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FBSQL_FETCH_OBJECT(3)							 1						     FBSQL_FETCH_OBJECT(3)

fbsql_fetch_object - Fetch a result row as an object

SYNOPSIS
object fbsql_fetch_object (resource $result)
DESCRIPTION
fbsql_fetch_object(3) is similar to fbsql_fetch_array(3), 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 fbsql_fetch_array(3), and almost as quick as fbsql_fetch_row(3) (the difference is insignifi- cant).
PARAMETERS
o $ result -A result identifier returned by fbsql_query(3) or fbsql_db_query(3).
RETURN VALUES
Returns an object with properties that correspond to the fetched row, or FALSE if there are no more rows.
EXAMPLES
Example #1 fbsql_fetch_object(3) example <?php fbsql_connect($host, $user, $password); $result = fbsql_db_query("database", "select * from table"); while ($row = fbsql_fetch_object($result)) { echo $row->user_id; echo $row->fullname; } fbsql_free_result($result); ?>
SEE ALSO
fbsql_fetch_array(3), fbsql_fetch_row(3), fbsql_fetch_assoc(3). PHP Documentation Group FBSQL_FETCH_OBJECT(3)
Related Man Pages
fbsql_fetch_array(3) - php
fbsql_fetch_object(3) - php
fbsql_next_result(3) - php
ingres_fetch_object(3) - php
msql_fetch_object(3) - php
Similar Topics in the Unix Linux Community
unix
summing numbers in files
awk command : row by row merging of two files
Summing data on N. row of each line
In php, Moving a new row to another table and deleting old row