PHP: If no rows
<pre><code>if ( $bid != $USER OR mysql_num_rows($already) &gt; 0) {
    echo "ok";
}
</code></pre>

<p>I have this line. I want "ok" to show, if $bid isn't the same as $USER OR if there doesn't exists any rows in the $already query.</p>

<p>What have I done wrong?</p>

<pre><code>function show_block_Form($bid, $id, $USER){
$already = mysql_query("SELECT * FROM users_blocked WHERE bID = '$bid' AND uID = '$USER'") or die(mysql_error());
if($bid != $USER || mysql_num_rows($already)==0){
echo "ok"
}
}
</code></pre>
