PHP parameter error
<p>Hi can someone help me understand the following error? it says</p>

<pre><code>Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, array given in C:\xampp\htdocs\docs\scheme\master\index.php on line 412
</code></pre>

<p>and my code goes as follows;</p>

<pre><code>.....
       foreach($_POST['delz'] as $delz)
       {
   $delz=mysqli_real_escape_string($db,$delz);
    $QR = "SELECT bname, bsku FROM brands WHERE id='$delz'";
    $rr = mysqli_query($db,$QR) or die ("SQL Error");
    $rr = $rr-&gt;fetch_assoc();
    $roV = mysqli_num_rows($rr); //line 412 reads as this
    echo "&lt;tr&gt;&lt;td class='sc_five'&gt;".$rr['bname']." ".$rr['bsku']; 
</code></pre>

<p>....code continues</p>

<p>Appreciate your help.</p>

<p>Thank you!</p>
