How to use two condition in mysqli_num_rows
<p>I have a sql query where result can be 0 or 1.</p>

<p>Here is what I've got.
I know below php code is wrong but i want to make it work like that.</p>

<pre><code>if(mysqli_num_rows($check) == 1 OR $check == 0){ 
</code></pre>

<p>Is there something in php which make my above line correct or true?</p>