[nycphp-talk] calculating state taxes?
Joseph Crawford
codebowl at gmail.com
Wed Aug 13 14:51:35 EDT 2008
const('TAX_RATE', 0.06);
$tax = $total * TAX_RATE;
just set your own tax rate, that simple ;)
Joseph Crawford
On Aug 13, 2008, at 2:46 PM, Susan Shemin wrote:
> I have a shopping cart and need to calculate state taxes on the
> products for the state the business is in. Is there some type of
> script/code that already is set up to calculate this?
>
> Susan
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080813/5286e48f/attachment.html>
More information about the talk
mailing list