View Single Post
Old 10-15-2005, 02:24 PM  
mrthumbs
salad tossing sig guy
 
mrthumbs's Avatar
 
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
Quote:
Originally Posted by Varius
I don't really use much OOP with PHP.....but if you used an array instead, you could just use the function array_sum()
What i really need to check if value_1 is the highest value of the 50..

so value_1 > then v2,v3,v4,v5,v6 etc..

Thats why i need a way to loop through all these vars without having
50 lines of text..

I could move the data to an array and loop through there but i still need
to compare the vars individually..

Hmm.. i could load it into an array.. do a sort.. and see if the highest number
equals value_1 AND is unique in the array....
mrthumbs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote