RE: [PHP] calculation based on checkbox

2002-03-22 Thread SHEETS,JASON (Non-HP-Boise,ex1)
: [EMAIL PROTECTED] Subject: [PHP] calculation based on checkbox 10) { # if the users ad has more than 10 words in it than $quarters = the extra words times .20 $subtractor = $num - 10; $quarters = $subtractor * .20; } $subtotal = $price + $quarters; # price plus the number of words over 10 $total

[PHP] calculation based on checkbox

2002-03-22 Thread jas
10) { # if the users ad has more than 10 words in it than $quarters = the extra words times .20 $subtractor = $num - 10; $quarters = $subtractor * .20; } $subtotal = $price + $quarters; # price plus the number of words over 10 $total = $papers * $subtotal; # new price multiplied by number of pa