Welcome to WebmasterWorld Guest from 54.157.225.99

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

finding how many X occur in a database

how many different galleries there are

     
3:54 am on Jul 22, 2011 (gmt 0)

New User

5+ Year Member

joined:June 18, 2011
posts: 3
votes: 0


I have a database with a table called 'media' which has a field named 'gallery'

I want to check all the rows and count how many different galleries exist.
6:31 am on July 22, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 19, 2002
posts:3230
votes: 17


what have you tried so far?

you should look into using DISTINCT
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members