|
stoot98 thanks for the help! I new I needed something like that just couldn't figure it out. Now that part is working my calculation is off. See that if they choose case 1:
$blkslv = 0;
$blkwht = 0.1;
$colsil = 0.5;
$colorwhite = 0.6;
break;
It is adding up all five choices of color choices when in reality they will only be choosing one. So I need a way to calculate just one choice. Would any array do this?
Also I removed $price. The quanity is entered into a text box. And price is determined by quanity such as 1-10 copies for $8.00, 11-24 for $7.00
So I need a swtch statement for that I guess?
Last edited by mallen; 12-15-2008 at 02:07 PM..
|