Goldenweb.it homepage

ANNUNCI | DIRECTORY | FONTS | ICONE | NEWSGROUPS | TOP25 | WALLPAPERS

English version  

Bet365 online bets
Bet365 offers the best online betting. Our advice is to subscribe now to bet365 to instantly obtain the bonus code of $100 reserved for all new customers. Bet365 is a secure online betting site, certified and licensed throughout Europe.
Bufi Store
Bufi Store è il sito di e-commerce fra i più innovativi e tecnologici del web, alla ricerca sempre dei migliori marchi con rapporti qualità prezzo fra i migliori del mercato.

GoldenWeb.it Directory "Premium" Links - Il tuo link qui...



dbx_fetch_row

(PHP 5)

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

Description

object dbx_fetch_row ( object result_identifier)

dbx_fetch_row() returns a row on success, and 0 on failure (e.g. when no more rows are available). When the DBX_RESULT_UNBUFFERED is not set in the query, dbx_fetch_row() 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().

Esempio 1. How to handle the returned value

<?php
$result
= dbx_query($link, 'SELECT id, parentid, description FROM table', DBX_RESULT_UNBUFFERED);

echo
"<table>\n";
while (
$row = dbx_fetch_row($result)) {
    echo
"<tr>\n";
    foreach (
$row as $field) {
        echo
"<td>$field</td>";
    }
    echo
"</tr>\n";
}
echo
"</table>\n";
?>

The result_identifier parameter is the result object returned by a call to dbx_query().

The returned array contains the same information as any row would have in the dbx_query result data property, including columns accessible by index or fieldname when the flags for dbx_guery were set that way.

See also dbx_query().