: [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
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
2 matches
Mail list logo