sort object array

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AMT India
    New Member
    • Feb 2007
    • 64

    sort object array

    I have an object array. I want to sort this array on the basis of a date field, which is a property of every objects in the array. Is there is any method for that? I am using PHP 4
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, AMT.

    Have a look at usort().

    Comment

    Working...