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
dbx_fetch_row(3) - php
ingres_fetch_object(3) - php
ingres_fetch_row(3) - php
pg_fetch_row(3) - php
sqlsrv_next_result(3) - php
Similar Topics in the Unix Linux Community
Help converting row data to columns
&quot;echo *.out&quot; - can I separate the results by a new line?
[Solved] Mysql - Take data from row and copy it to another row
Removing duplicated first field rows
Splitting single row into multiple rows based on for every 10 digits of last field of the row