Sorting objects in an array

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
DC
Forum Newbie
Posts: 2
Joined: Sat Mar 08, 2003 8:00 am
Location: Hilversum
Contact:

Sorting objects in an array

Post by DC »

Hi there,

Can anyone tell me how i can sort my array wich contans objects.

Code: Select all

ї7] => filesystem Object
        (
            їfile] => index_c.php
            їtype] => php
            їdate] => 8-3-2003 14:31
            їsize] => 9.15 KB
            їlink] => http://C:\\Documents and Settings\\DC\\Desktop/index_c.php
            їdescription] => PHP File
            їimage] => none
        )
I want to sort my array by (array ->)$file_data->file

Anyone?!
User avatar
protokol
Forum Contributor
Posts: 353
Joined: Fri Jun 21, 2002 7:00 pm
Location: Cleveland, OH
Contact:

Post by protokol »

DC
Forum Newbie
Posts: 2
Joined: Sat Mar 08, 2003 8:00 am
Location: Hilversum
Contact:

Post by DC »

Alright thanks!
Post Reply