public numRows ()
Gets number of rows returned by a resultset
$result = $connection->query("SELECT * FROM robots ORDER BY name"); echo 'There are ', $result->numRows(), ' rows in the resultset';
public numRows ()
Gets number of rows returned by a resultset
$result = $connection->query("SELECT * FROM robots ORDER BY name"); echo 'There are ', $result->numRows(), ' rows in the resultset';
Please login to continue.