sqlite_fetch_single
Fetches the first column of a result set as a string.
Description
stringsqlite_fetch_single
resourceresult
intresult_type
booldecode_binary
sqlite_fetch_single is identical to
sqlite_fetch_array except that it returns the value
of the first column of the rowset.
This is the most optimal way to retrieve data when you are only
interested in the values from a single column of data.
A sqlite_fetch_single example
0) {
echo sqlite_fetch_single($res); // 42
}
sqlite_close($dbhandle);
}
?>
]]>
See also sqlite_fetch_array.