Mine
public php v1 · immutable// php code<?php $price['storage'] = 2.00;$price['bandwidth'] = 1.50;$price['emails'] = 1.00;$price['ftp'] = 4.00;// should add all the above prices to gether to get a total pricefunction total() {global $price;$_total = ''; foreach ($price as $total) { $_total .= $total + $total; }return "<b>Total Price:</b> <font color=green><b>\$$_total</b></font>";}?>// calling the functiontotal();// results (for example)Total Price: $161000