Cetanu Posted July 21, 2009 Share Posted July 21, 2009 What kind of code could be used to echo something like "We have -# of rows- members!" Something to like, add all the # of rows together to get a number...? Link to comment https://forums.phpfreaks.com/topic/166738-solved-adding-up-rows/ Share on other sites More sharing options...
trq Posted July 21, 2009 Share Posted July 21, 2009 You would use a simple sql query. SELECT COUNT(id) AS total FROM users Link to comment https://forums.phpfreaks.com/topic/166738-solved-adding-up-rows/#findComment-879224 Share on other sites More sharing options...
Cetanu Posted July 21, 2009 Author Share Posted July 21, 2009 Hehe, okay, thanks Still kind of new to this. Link to comment https://forums.phpfreaks.com/topic/166738-solved-adding-up-rows/#findComment-879225 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.