Re: [PHP] sorting object props

2005-06-18 Thread Richard Lynch
On Fri, June 17, 2005 2:48 pm, D_C said: > is there a way to sort the properties of an object by their name, much > like sort works on arrays? > > i am getting back an object from a database query and want to list the > resulting items in alpha order by field name... http://php.net/ksort Last tim

[PHP] sorting object props

2005-06-17 Thread D_C
is there a way to sort the properties of an object by their name, much like sort works on arrays? i am getting back an object from a database query and want to list the resulting items in alpha order by field name... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/