Actually, it looks pretty straight-forward:
";
}
function add_price_point($num, $price) {
global $points, $prices;
// this saves us from div-by-0 and automatically
// discards invalid quantities
if ($num < 1)
return;
$per = $price / $num;
foreach($points as $va
If this is the explanation the other 7 got, I'm not
surprised they're stumped. :)
You don't seem to explain the formula to determine q100, q300, etc.,
which bugged me, but the text of your question seems to indicate
we don't really need to know this.
> Now the tricky part is $Quantity2 can eit
2 matches
Mail list logo