Executes a query and returns a single value. If more than one row
is returned, only the first value in the first column is returned.
public QuerySingleValue ( string $sql ) : mixed | ||
$sql | string | The query string should not end with a semicolon |
return | mixed | The value returned or FALSE if no value |