How should this echo PHP code with multiplication be written ?

I am trying to display the product of a multiplication in PHP using variables

echo "( $cost* $weight)"; but it is not working .. This is assuming that I have already assigned the cost and weight their values and I included them in the php tags <?php ?>

So how would you display multiplication products in PHP ? Thanks a lot !!!
 
Back
Top