Daney11 Posted March 4, 2008 Share Posted March 4, 2008 Hey guys, I have a results table. ID team for against 1 abc 16 14 2 cde 14 16 3 fgh 15 15 4 ijk 09 21 Im not sure on how to add up the total of "for" and the total of "against" up using php and mysql. Anyone have any ideaS? Link to comment https://forums.phpfreaks.com/topic/94264-adding-up-rows/ Share on other sites More sharing options...
revraz Posted March 4, 2008 Share Posted March 4, 2008 Look up the SUM function for MySQL Link to comment https://forums.phpfreaks.com/topic/94264-adding-up-rows/#findComment-482790 Share on other sites More sharing options...
Daney11 Posted March 4, 2008 Author Share Posted March 4, 2008 thanks <3 Link to comment https://forums.phpfreaks.com/topic/94264-adding-up-rows/#findComment-482793 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.