Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
PHP Server Side Scripting
4:44 pm Aug 9, 2026
This page requires javascript.
Forum Moderators:
coopster
Message Too Old, No Replies
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
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Jul
,
Jun
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
August 2026 Google Search Observations
AdSense Earnings and Observations - August 2026
Booking Feels Google AI Effects - Plans SEO decline
July 2026 Google Search Observations
EU AI Transparency Rules Now in Effect
How has AI changed your work?
Do you still build external links in 2026?
Home
Forums Index
Server Side
/
PHP Server Side Scripting
4:44 pm Aug 9, 2026