Question : PHP If Not ! problem

Hi
I'm having trouble getting this to work. The page I'm testing on has a StatusID of 2 for sure - But the first table row here is still showing.

I'm a bit of a newbie to this so It may be a bracket or something?
Thanks.
1:
2:
3:
4:
5:
6:
<?php if(!$row_RsBody['StatusID']==2) { ?>
      <td height="27" colspan="5" align="center" valign="middle" bgcolor="#789DAD" class="summary">
      Thank you -&nbsp;£<?php echo $row_RsConclusion['TotalInvoice']; ?>&nbsp;<?php echo $row_RsConclusion['StatusDescription']; ?>&nbsp;On&nbsp;<?php echo date("l, F j, Y", strtotime($row_RsConclusion['PaymentDate'])); ?>&nbsp;
      <?php } else { ?>
      <td colspan="5" class="genform">
      <?php } ?>

Answer : PHP If Not ! problem

this might work better:
<?php if($row_RsBody['StatusID']!=2) { ?>
Random Solutions  
 
programming4us programming4us