Function ze\sql::numRows()

In PHP:
ze\sql::numRows(
$result
)

Description

Returns the number of rows from a SQL SELECT query.

A shortcut function to the mysqli_num_rows() function.

Parameters

$result

You should pass in the result from a call to sqlSelect() or getRows(). You can also pass in a SQL string directly.

Return Value

An associative array containing the row.