Who Won? under past score's | Peter's Sports League Standings | Forum
Back to the sports standings script page
2:42 pm
That’s what I did the other day Pete
Know whats strange about that? no matter who wins, home or away
when you <b> the winninteam and RF variable’s both are always the home team is “winningteam” and RF tags, really related to the home team’s only?
Example when I bold THE winningteam and RF tags in standings.php
whether the score is 4-1 home team or 1-4 away team the bold is always on the home team, it works but strange?
I think when you get around to this, you should just rearrange the table and have it home team score, away team score etc something like the flag football site you have linked to on the front page
Sonny
2:10 am
Peter, I am having the same sort of issues as above. The home and away teams swap positions but scores stay the same as entered. However it always gets the win draw points correct. I also am having no luck in getting the winning team to appear in bold.
ie. I enter a game as follows
Home: Geminis - Beat - Away: Pandas
Score: 6 - 1
In
localhost/sport/orig/standings/update.php?action=mainview&conf=1
it displays
January 15, 2009 12:00pm Pandas Geminis Stadium Grande 6 - 1
This might only be an issue with the latest version
regards
Murray
7:57 am
Ph said:
I think i solved the problem. I am not sure if its the right thing to do.
In standings.php on line 461:
I switched losingteam and winningteam aroundIn mainview.php on line 104:
I switched losingteam and winningteam aroundI know basic php, so if this is the incorrectway to do things, please let me know.
This is what i did when i had the problem, and it now works perfectly. ;)