ID: 16215 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: Unix PHP Version: 4.1.2 New Comment:
Please provide a full copy&paste example Previous Comments: ------------------------------------------------------------------------ [2002-03-21 21:18:34] [EMAIL PROTECTED] I just want to report that the example code for the uasort function in the PHP manual does not work and nothing gets sorted.. I've tried for hours and using multiple books to get uasort to work with multidimensional associative arrays and I have had no success... Am I possibly printing out the arrays incorrectly?? This is what i Used to display the sorted array in the example in the PHP manual: for ( $row = 0; $row < 3; $row++ ) { while (list($key, value) = each ($array[ $row] ) ) { echo "|$value"; } echo "|<BR>"; } this can be the only possible thing I find that could be wrong.. if my code is not incorrect than this is a bug in the program.. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16215&edit=1