| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|Subscribe and Support WebmasterWorld|
|finding how many X occur in a database|
how many different galleries there are
| 3:54 am on Jul 22, 2011 (gmt 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 Jul 22, 2011 (gmt 0)|
what have you tried so far?
you should look into using DISTINCT
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved