RE: [PHP] Sorting a text string

2002-09-05 Thread Scott Houseman
se the array: $aDate = array_reverse( $aDate ); join back into a string, using periods: $sDate = join( '.', $aDate ); $sDate => '2002.09.04' HTH Regards -|Scott > -Original Message- > From: Bård Tommy Nilsen [mailto:[EMAIL PROTECTED]] > Sent: Thursday, S

[PHP] Sorting a text string

2002-09-05 Thread Bård Tommy Nilsen
I want to sort text strings, but how could i do this ? Example: 04.09.2002 05.09.2002 19.03.1999 Is there a way to "change" the string to something like this ... 2002.09.04 2002.09.05 1999.03.19 Or is there a better way to solve this ?? Bård Tommy Nilsen -- PHP General Mailing List (http