Re: [PHP] greater than question

2003-05-29 Thread Marek Kilimajer
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

Fw: [PHP] greater than question

2003-05-27 Thread Matt Grimm
, 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:

RE: [PHP] greater than question

2003-05-27 Thread Steven Kallstrom
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.

Re: [PHP] greater than question

2003-05-27 Thread R'twick Niceorgaw
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

[PHP] greater than question

2003-05-27 Thread Steve Buehler
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