Create a function, then func_get_args will return you an array. Then
continue as others sugested. You can call the function as
functionName($a, $b, ) - any number of parameters you need
Steve Buehler wrote:
Hopefully someone has done this and has an easy answer. I know that I
can do what I
, AK 99508
907.770.6200 ext. 686
907.336.6205 (fax)
E-mail: [EMAIL PROTECTED]
Web: www.healthtvchannel.org
> - Original Message -
> From: "Steve Buehler" <[EMAIL PROTECTED]>
> To: "PHP" <[EMAIL PROTECTED]>
> Sent: Tuesday, May 27, 2003 11:
Steve,
Your best bet is to probably stick those values into an array... then
you can sort it and operate on the largest values...
SJK
> I have 4
> variables that each have a number in them. I need to find which one
has
> the highest number. I then just need to do something with that
number.
put them in an array an sort it ?
- Original Message -
From: "Steve Buehler" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2003 3:45 PM
Subject: [PHP] greater than question
> Hopefully someone has done this and has an easy a
Hopefully someone has done this and has an easy answer. I know that I can
do what I need with a LOT of code, but am trying to come up with something
a little shorter that 50 lines of code. Here is the problem. I have 4
variables that each have a number in them. I need to find which one has
5 matches
Mail list logo