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
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 answer. I know that I can
> do what I
3 matches
Mail list logo