|
SQLite3::querySingleExecutes a query and returns a single result Description
public mixed SQLite3::querySingle(string
$query , bool $entireRow = false )Executes a query and returns a single result. Parameters
Return Values
Returns the value of the first column of results or an array of the entire
first row (if
If the query is valid but no results are returned, then
Invalid or failing queries will return Examples
Example #1 SQLite3::querySingle example
The above example will output something similar to: string(5) "Scott" Array ( [username] => Scott [email] => scott@example.com ) |