PHP » GoLang |
login |
register |
about
|
GoLang SQLite3::querySingle
request it (367)
GoLang replacement for PHP's SQLite3::querySingle
[edit | history]
SQLite3::querySingle(PHP 5 >= 5.3.0, PHP 7) SQLite3::querySingle — Executes a query and returns a single result DescriptionExecutes 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
<?php The above example will output something similar to: string(5) "Scott" Array ( [username] => Scott [email] => [email protected] ) |
more
Recently updated
more
Most requested
more
Last requests
|