Fatal error: Call to undefined function Â mysqli_num_rows()
<p>I try to count the number of rows in my query, but I get the error message:</p>

<p>Fatal error: Call to undefined function Â mysqli_num_rows() in </p>

<p>My code is:</p>

<pre><code>$query2 = "SELECT `vraag` FROM `log` WHERE `nam` = '3' AND `status` = '0' LIMIT 1"; 
$sql2 = mysqli_query($con,$query2) or die("could not perform query");
$record2 = mysqli_fetch_assoc($sql2);
$aantal = mysqli_num_rows($sql2);
</code></pre>

<p>Does anybody know what is wrong in this code?
Thanks in advance. </p>