Taran Posted December 6, 2013 Report Share Posted December 6, 2013 Here's what I'm wanting to do: 1. have a box on the home page that display the top 5 hubs by different stats (hours, flights, passengers, miles, etc.). 2. I want this to automatically change each month so it's based off of monthly stats. 3. I will change which stats it calculates each month. 4. I want it to automatically place the hub with the highest stat as #1 and the hub with the 2nd most at #2 etc. etc. Anyone know the code for how i could do this? Thanks In Advance! EDIT: I scratched out the things i've gotten done. 1 Quote Link to comment Share on other sites More sharing options...
Taran Posted December 7, 2013 Author Report Share Posted December 7, 2013 i got the stats to show, but now how do i get them to automatically order themselves for greatest to least? Quote Link to comment Share on other sites More sharing options...
SkiesTheLimit Posted December 7, 2013 Report Share Posted December 7, 2013 I would be interested in this code as well. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted December 7, 2013 Report Share Posted December 7, 2013 So would I Quote Link to comment Share on other sites More sharing options...
Taran Posted January 12, 2015 Author Report Share Posted January 12, 2015 Still interested in this code for anyone who could help Quote Link to comment Share on other sites More sharing options...
Tom Posted January 12, 2015 Report Share Posted January 12, 2015 Still interested in this code for anyone who could help Sounds like you made some progress on it? If you still have that, pop it up on GitHub and we can contribute to it Quote Link to comment Share on other sites More sharing options...
hurkulez Posted June 8, 2015 Report Share Posted June 8, 2015 $sql= call data field here SORT (ASC) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.