title: if/else statement not working
body: <p>I have an issue where the if statement doesn't want to work, I'm not sure what is wrong. Regardless, it will always display the if condition. Initially, I have used a provisional code for the combo box which I'll edit later from the internet, to check if the if/else statement works, but it doesn't, and I can't see any reason why. Any clues? I'll be also adding a foreach statement into the select box, like this...</p>
  
  <pre><code>    &lt;select&gt;
      &lt;?php
      foreach($bids as $bid)
      {
      ?&gt;
          &lt;option value="tbc"&gt;Some PHP code here&lt;/option&gt;
      &lt;?php
      }
      ?&gt;
      &lt;/select&gt;
  </code></pre>
  
  <p>This is the current full code I have:</p>
  
  <pre><code>&lt;div class="frontpage_sidebar_header"&gt;Quick Flight Dispatch&lt;/div&gt;
  &lt;div class="sidebox_content"&gt;
      &lt;?php 
      if(!$bids)
      {
      ?&gt;
          &lt;table width="100%" style="padding: 5px; text-align: center;"&gt;
              &lt;tr&gt;
                  &lt;td&gt;You haven't booked any flights&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;?php
      }
      else
      {
      ?&gt;
          &lt;select&gt;
              &lt;option value="volvo"&gt;Volvo&lt;/option&gt;
              &lt;option value="saab"&gt;Saab&lt;/option&gt;
              &lt;option value="mercedes"&gt;Mercedes&lt;/option&gt;
              &lt;option value="audi"&gt;Audi&lt;/option&gt;
          &lt;/select&gt;
      &lt;?php
      }
      ?&gt;      
  &lt;/div&gt;
  </code></pre>