I use this...
if($_POST[select2]="15%")
{
$hstvalue='0.15';
}
if($_POST[select2]="5%")
{
$hstvalue='0.05';
}
if($_POST[select2]="13%")
{
$hstvalue='0.13';
}
if($_POST[select2]="12%")
{
$hstvalue='0.12';
}
to change the tax rate on a system and figure what the rate is, add it to the total to get the grand total... Prolem is, on the confirmation page, the rate no mater what is chosen on the billing page, turns out 12%... which also conveniently the last if statement... Any thoughts?
Osyrys