Lukeidiot Posted October 21, 2009 Share Posted October 21, 2009 Basically I have a mysql database with a couple prices as the following: 9.99 9.99 9.99 49.99 24.50 24.50 How can I add these numbers and display the total from a mysql database? Link to comment https://forums.phpfreaks.com/topic/178418-adding-different-numbers-from-mysql/ Share on other sites More sharing options...
mikesta707 Posted October 21, 2009 Share Posted October 21, 2009 you can use the mysql SUM function to do that very easily. clicky that tutorial explains using it very well Link to comment https://forums.phpfreaks.com/topic/178418-adding-different-numbers-from-mysql/#findComment-940886 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.