shams Posted May 8, 2006 Share Posted May 8, 2006 hi,i want to get the sum of the integers of one column of the mysql table, can any one post the code please, then i can put it in a php code, thanks in advanced for your help. Link to comment https://forums.phpfreaks.com/topic/9313-how-to-get-sum-of-one-mysql-table-column/ Share on other sites More sharing options...
ober Posted May 8, 2006 Share Posted May 8, 2006 SELECT SUM(field_name) AS mysum FROM tablexyz Link to comment https://forums.phpfreaks.com/topic/9313-how-to-get-sum-of-one-mysql-table-column/#findComment-34314 Share on other sites More sharing options...
avo Posted May 8, 2006 Share Posted May 8, 2006 HI Can you explan a little further please.Do you want to count the numer of rows you have filled in a mysqltable ?or? Link to comment https://forums.phpfreaks.com/topic/9313-how-to-get-sum-of-one-mysql-table-column/#findComment-34316 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.