Hello, I'm using the following code to pull unit shipping cost iinto a Web page. The problem is, I need to add a "$" symbol in front of the shipping cost when there is a cost, but don't want it to appear when it's free (it would read "$Free shipping" if I put the dollar sign in front of the code).
Also, I'd like to use CSS to style each output differently (I'd like red and bold for "Free shipping"). How can I incorporate divs into this code without messing it up?
<?php
if ($row_DJ_mixers['Shipping_Cost']==0.00)
echo "Free shipping";
else
echo number_format($row_DJ_mixers['Shipping_Cost'],2,'.',',');
?>
Thanks in advance for the help,
mzovadia