homepage Welcome to WebmasterWorld Guest from 54.234.180.187
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library : Charter : Moderators: coopster & eelixduppy & jatar k

PHP Server Side Scripting Forum

    
finding how many X occur in a database
how many different galleries there are
MikeElmore




msg:4342552
 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.

 

topr8




msg:4342589
 6:31 am on Jul 22, 2011 (gmt 0)

what have you tried so far?

you should look into using DISTINCT

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved