sqlite_result

mIRC SQLite

sqlite_result
Fetches and returns the specified column of the current row from a result.
Syntax
$sqlite_result ( result, field [, &binvar; ] ) [ .name ]
Parameters
result
The result identifier.
field
The field index or name. See remarks for details.
binvar
The name of the binary variable to assign binary data to. Optional.
Properties
name
Forces field to be treated as name.
Return Value
The value of the specified column of the fetched row if &binvar; isn't specified, otherwise the size of the binary variable on success, $null if there are no more rows, or if there was an error.
Remarks
$sqlite_result is identical to $sqlite_fetch_field except it doesn't advance to the next row.