470,815 Members | 1,246 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Sorting folders

Hi there,

I have a site with photo-albums on it.
Each directory represents an album.
What i want is on the "home page" of the site a feature
which says "newest album: *******"

So i have to search the album directory, and then sort them
by date. And then it automatically has to grab the newest album.

Maybe a slight problem is that the albums are divided over 4
subcategories. (Match, players etc.)

Match: - Match 1
- Match 2
- Match 3

Players: - player 1
etc...

Albums would be 'Match 1', 'Match 2', etc.

hope ypu understand.

Any help would be greatly appreaciated!!!!

Greetings Krunkelgarten.
Jul 17 '05 #1
2 1380
kr***********@hotmail.com (krunkelgarten) wrote in message news:<87**************************@posting.google. com>...
<snip: How to sort?>

Manual is your friend <http://in2.php.net/sort>

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Jul 17 '05 #2
I found "sort" on the php.net site,
but since i'm kind of a newbie, i just can't
get those to wok the way i want.

Hope someone can help..

Greetings Krunkelgarten
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Hayden Kirk | last post: by
4 posts views Thread by dont bother | last post: by
7 posts views Thread by Federico G. Babelis | last post: by
19 posts views Thread by Owen T. Soroke | last post: by
3 posts views Thread by ILMergeHelp | last post: by
3 posts views Thread by Eric Capps | last post: by
1 post views Thread by =?Utf-8?B?UmFjaW5yaG9uZGE=?= | last post: by
5 posts views Thread by jrod11 | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.