spiderdog Posted June 10, 2007 Share Posted June 10, 2007 how could I get numbers from a mysql database and add them up(if possible)? Like using a id from a different table and then for each id entry in the first(not the different) table adding the numbers. Quote Link to comment https://forums.phpfreaks.com/topic/54961-how-could-i-get-numbers-from-a-mysql-database-and-add-them-upif-possible/ Share on other sites More sharing options...
AndyB Posted June 10, 2007 Share Posted June 10, 2007 SUM and WHERE http://www.tizag.com/mysqlTutorial/mysqlsum.php Quote Link to comment https://forums.phpfreaks.com/topic/54961-how-could-i-get-numbers-from-a-mysql-database-and-add-them-upif-possible/#findComment-271773 Share on other sites More sharing options...
spiderdog Posted June 10, 2007 Author Share Posted June 10, 2007 thanks! Quote Link to comment https://forums.phpfreaks.com/topic/54961-how-could-i-get-numbers-from-a-mysql-database-and-add-them-upif-possible/#findComment-271776 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.