Professional CodeIgniter

(singke) #1

Chapter 10: Launch


302


.”’ value=’USD’/ > \n”;
echo “ < input type=’hidden’ name=’ship_method_name_”.$count
.”’ value=’UPS Ground’/ > \n”;
echo “ < input type=’hidden’ name=’ship_method_price_”.$count
.”’ value=’5.00’/ > \n”;
$TOTALPRICE += 5;
$count++;
}
}

echo “ < b > TOTAL (w/shipping): “. $TOTALPRICE;
? >
< /p >
< input type=”image” name=”Google Checkout” alt=”Fast checkout through Google”
src=”http://checkout.google.com/buttons/checkout.gif?merchant_id=
change-this-now & w=180 & h=46 & style=white & variant=text & loc=en_US”
height=”46” width=”180”/ >
< /form >

You end up with something similar to Figure 10 - 2.

Figure 10-2
Free download pdf