I have a printout where it is printing a teams schedule of games and the score and if they won or lost if the game has been played.
If they win, a W gets put in the Win Field, if they lose, an L gets put there.
The section of code that shows the output is below as well as the original query to start the loop.
What I need is for the system to count up the number of W's and the number of L's and show the record like
5-1 or 2-9 for the season.
$event_query = "select * from Events WHERE OpponentID > '0' Order By LevelID, StartDate Asc;";