Thread: Sorting
View Single Post
  #14  
Old 11-21-2009, 07:56 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
I know I dont understand it. Trying to.

This is what I got now.

PHP Code:
public function getTopAbyss(){
  
// Initialize Array and Kills Structure 
  
temp.guildzname getGuildList(); 
  
// Loop and Display Kills 
  
for (temp.gtemp.guildzname) { 
    
temp.kills this.guilds.(@temp.g).kills
  }
  
temp.guildzname.sortbyvalue("kills"nulltrue); 
  
temp.data temp."'s kills: " temp.kills
  echo(
temp.guildzname); 

that gives a random order. If i try to
PHP Code:
echo(temp.guildzname[0]); 
it comes up empty.
Also tried temp.g.kills like in ur last example, did the exact same thing.

I get the concept, pull all guild names, run those to pull all kills, sort guild names, display. Its just not workin for me. :/
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote