hide echo using ! not working
i have two prices the price and a discount, some products have the discount a couple dont if they dont have the discount i want to have hide the price as below
<? if (!$row_rsProduct['Product'] == 'prod1'):
?>
<?php echo DoFormatCurrency($row_rsProduct['Price'], 2, '.', '.', '£ ', ''); ?>
<?php endif; ?>
<?php echo DoFormatCurrency($row_rsProduct['Discount'], 2, '.', '.', '£ ', ''); ?>
