Perl to PHP code tranlation URGENT !

From: Date: Tue, 08 Aug 2000 19:05:09 +0000
Subject: Perl to PHP code tranlation URGENT !
Groups: php.general 
Request: Send a blank email to php-general+get-10755@lists.php.net to get a copy of this message
Hi All ! I'm doing a code tranlation from Perl to a new PHP Aplication and I don't know how to did the following: I've an array called categName with categories extracted from a MySQL database and the Perl code do: @categAlpha = sort { $categName[$a] cmp $categName[$b] } (0 .. $#categName); How could I do the same with PHP ? TAre there a similar sort function on PHP ? Thanks in advance ! Javier

« previous php.general (#10755) next »