Welcome Guest, Not a member yet? Register   Sign In
How to group entries in table according to one column
#4

[eluser]cmgmyr[/eluser]
Then you can do something like this:
Code:
SELECT DISTINCT `album` FROM `albums` ORDER BY `album` ASC

I normally set up an "albums" page then a "photos" page. Once they click on an album then they will get directed to the photos page, which shows all of the photos for that album.


Messages In This Thread
How to group entries in table according to one column - by El Forum - 10-04-2010, 12:43 PM
How to group entries in table according to one column - by El Forum - 10-04-2010, 02:53 PM
How to group entries in table according to one column - by El Forum - 10-04-2010, 03:16 PM
How to group entries in table according to one column - by El Forum - 10-04-2010, 03:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB