> One more question... If I then wanted to do this for the other operations
> (such as multiplication, division, etc), how would I do that?

Assuming you've figured out how to do an array...

You'll have to loop through the values like in the code that others posted.

foreach($_POST['number'] as $num)
{ //calculate total here with $num }

* = multiplication
/ = divide

---John Holmes...




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to