14.10.2014, 05:44
Yo,
Got a quick question from your MySQL Experts. I am trying to calculate the total number items all my players have but i am pretty confused on how to do so, I am basically trying to add all the "Items" columns together and outputing the result but eventually my code doesn't work. I've tried using the SUM technique but no outcome. I am able to retrieve the Items column but dont know how to add them or print them out.
Got a quick question from your MySQL Experts. I am trying to calculate the total number items all my players have but i am pretty confused on how to do so, I am basically trying to add all the "Items" columns together and outputing the result but eventually my code doesn't work. I've tried using the SUM technique but no outcome. I am able to retrieve the Items column but dont know how to add them or print them out.