ze\sql::select()
ze\sql::select($sql, $storeResult = true)
This function lets you run a SQL SELECT query against the current database.
$sql
A string containing a SQL query. This must be a SELECT query. It must not be a DELETE/INSERT/REPLACE/UPDATE query.
Returns a MySQLi results object that you can use with the sqlFetchAssoc(), sqlFetchRow() and sqlNumRows() functions.
Note that in the event of a a database error, this function will stop execution with an exit command, rather than return a value.