1 2 3 4 5 6 7 8
<?php if($weight > 10){ $postage = 4.5; }else{ $postage = 2; } echo "Postage of $postage"; ?>
1
Postage of 2