just me and php Posted February 19, 2007 Share Posted February 19, 2007 I search around but think im using wrong key words on internet what im looking for is how many times a name was posted to db in one table so i get and output of something like bob 300 times Link to comment https://forums.phpfreaks.com/topic/39203-how-can-i-get-how-many-times-for-db/ Share on other sites More sharing options...
hitman6003 Posted February 19, 2007 Share Posted February 19, 2007 SELECT name, COUNT(name) FROM tablename GROUP BY name Link to comment https://forums.phpfreaks.com/topic/39203-how-can-i-get-how-many-times-for-db/#findComment-188858 Share on other sites More sharing options...
just me and php Posted February 19, 2007 Author Share Posted February 19, 2007 thanks i think that will do it Link to comment https://forums.phpfreaks.com/topic/39203-how-can-i-get-how-many-times-for-db/#findComment-188860 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.