Arrow

Peter pls answer me today | Peter's Sports League Standings | Forum

Back to the sports standings script page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Peter pls answer me today
May 5, 2008
1:46 am
deedee_guzgan
Guest

Peter i used your script,and i have a championship.I have a problem i want to make the clasaments by points pls help me look.

Team Name GP Wins Losses Ties Forfeits RF RA GB PCT Points
george 4 2 0 2 0 5 2 --- 1.000 8
platica 4 3 1 0 0 10 2 --- 0.750 9
mafiotu_cena 4 1 1 2 0 2 1 1.0 0.500 5
ionut 3 1 1 1 0 5 2 1.0 0.500 4
geocobra_yo 4 1 3 0 0 1 11 2.0 0.250 3
trooly 3 0 2 1 0 0 5 2.0 0.000 1

May 5, 2008
1:47 am
deedee_guzgan
Guest

platica has 9 points and he is second why?

I want to make the clasament by points pls help me

May 6, 2008
12:40 am
Peter
Admin
Forum Posts: 841
Offline

By default, the page sorts by winning percentage. However, if you click on the points heading, it reloads sorted by points.

If you want the page to sort by points by default, you can hack the code in standings.php. Near the bottom of the file, replace this:

print '<p><a href="' . $_SERVER['PHP_SELF'] . "?conf={$confs['confid']}\\">{$confs['confname']}
</a></p>\\n";

With this:

print '<p><a href="' . $_SERVER['PHP_SELF'] . "?conf={$confs['confid']}&sort=10\\">{$confs['confname']}
</a></p>\\n";
May 6, 2008
1:33 am
deedee_guzgan
Guest

thx man i love u

August 23, 2008
7:14 pm
Redrebellion
Guest

this doesnt work for me, and has now made the whole thing not work :(