On Thursday 05 December 2002 23:05, Stephen wrote:
> So would I just put this?
>
> foreach(%_POST['number'] as $num)
> {
> $output *= $num;
> }
> echo $output;
>
> That's for multiplication.
Yes. Wouldn't it have been quicker for you to try it than to ask?
BTW make sure that none of $num is zero.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
The longest part of the journey is said to be the passing of the gate.
-- Marcus Terentius Varro
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php