Printing values from a loop in PHP
<p>Below is a loop I have in my code. Once when the starting and ending values are a zero the loop prints a value zero (0). But what I need to do here is when the starting and ending value is zero, it should print nothing. Can someone please tell me how to change the approach?</p>

<pre><code>while ($recQ = mysqli_fetch_array($runx))
{
   for($ii=$recQ['start']; $ii&lt;=$recQ['end']; $ii++)
    {
        if (!in_array($ii, $exclude))
        {
            echo $ii.", ";
        }
    }
}   
</code></pre>
