public QuerySingleRowArray ( string $sql, integer $resultType = MYSQLI_BOTH ) : array | ||
$sql | string | The query string should not end with a semicolon |
$resultType | integer | (Optional) The type of array Values can be: MYSQLI_ASSOC, MYSQLI_NUM, MYSQLI_BOTH |
return | array | An array containing the first row or FALSE if no row is returned from the query |