Executes a SQL query and returns the row from the SQL result.
public get_row ( string | null $query = null, string $output = OBJECT, integer $y ) : mixed | ||
$query | string | null | SQL query. |
$output | string | Optional. one of ARRAY_A | ARRAY_N | OBJECT constants. Return an associative array (column => value, ...), a numerically indexed array (0 => value, ...) or an object ( ->column = value ), respectively. |
$y | integer | Optional. Row to return. Indexed from 0. |
return | mixed | Database query result in format specified by $output or null on failure |