php man page for dbx_fetch_row

Query: dbx_fetch_row

OS: php

Section: 3

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

DBX_FETCH_ROW(3)							 1							  DBX_FETCH_ROW(3)

dbx_fetch_row - Fetches rows from a query-result that had the DBX_RESULT_UNBUFFEREDflag set

SYNOPSIS
mixed dbx_fetch_row (object $result_identifier)
DESCRIPTION
dbx_fetch_row(3) fetches rows from a result identifier that had the DBX_RESULT_UNBUFFERED flag set. When the DBX_RESULT_UNBUFFERED is not set in the query, dbx_fetch_row(3) will fail as all rows have already been fetched into the results data property. As a side effect, the rows property of the query-result object is incremented for each successful call to dbx_fetch_row(3).
PARAMETERS
o $result_identifier - A result set returned by dbx_query(3).
RETURN VALUES
Returns an object on success that contains the same information as any row would have in the dbx_query(3) result data property, including columns accessible by index or fieldname when the flags for dbx_query(3) were set that way. Upon failure, returns 0 (e.g. when no more rows are available).
EXAMPLES
Example #1 How to handle the returned value <?php $result = dbx_query($link, 'SELECT id, parentid, description FROM table', DBX_RESULT_UNBUFFERED); echo "<table> "; while ($row = dbx_fetch_row($result)) { echo "<tr> "; foreach ($row as $field) { echo "<td>$field</td>"; } echo "</tr> "; } echo "</table> "; ?>
SEE ALSO
dbx_query(3). PHP Documentation Group DBX_FETCH_ROW(3)
Related Man Pages
mssql_fetch_object(3) - php
dbx_fetch_row(3) - php
fbsql_fetch_object(3) - php
mssql_fetch_field(3) - php
pg_num_rows(3) - php
Similar Topics in the Unix Linux Community
Query result table display class 2008.06.08 (Default branch)
Remove comma and next rows beginning from the end
&quot;echo *.out&quot; - can I separate the results by a new line?
Searching a pattern and picking rows underneath them!
Removing duplicated first field rows