dbarraynum()

Fetch one row as a numeric array.

Versions: 9

dbarraynum( mixed $result ) : array

Parameters

$result (string) (Required) The query resource that is being evaluated. This result comes from a call to dbquery().

Return Values

(array) Returns a numerical array of strings that corresponds to the fetched row.

Examples

$result = dbquery("SELECT * FROM ".DB_TABLE);
if (dbrows($result) > 0) {
while ($data = dbarraynum($result)) {
//
}
}