note 7930 deleted from function.sort by derick

From: Date: Wed, 31 Aug 2005 10:35:33 +0000
Subject: note 7930 deleted from function.sort by derick
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-94486@lists.php.net to get a copy of this message
Note Submitter: x-itec at freenet dot de ---- Maybe u have a problem that you can not sort your array if the array contains only numbers. The solution: The numbers are sorted as ASCII, you have to store values to your array in this form as an example: $artikelarray[$x]=intval($row188[id]); You have to use INTVAL to convert your Number to a numeric value! Now you can sort your array with sort($artikelarray) and it works finde. Boris Köster

« previous php.notes (#94486) next »