alphabetize and date issues

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nincha
Forum Contributor
Posts: 191
Joined: Fri Mar 28, 2003 12:30 pm
Location: CA, USA

alphabetize and date issues

Post by nincha »

any tips or stradgy to alphabetize a group of strings, or order dates in chronological order??
Tubbietoeter
Forum Contributor
Posts: 149
Joined: Fri Mar 14, 2003 2:41 am
Location: Germany

Post by Tubbietoeter »

jepp, store dates in the format YYYY.MM.DD then use any sort function.

dont know though what you mean by alphabetizing
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

...

Post by kettle_drum »

Put them in a database or array and then sort them into alphabetical order.
Post Reply