What else does ksort() do to the array??? Does it matter that my keys look like this: '[some-text]'???
This works great: foreach($myarray as $key => $val) { echo "$key = $val"; } This gives me a Warning: Invalid argument supplied for foreach(): $sortedarray = ksort($myarray); foreach($sortedarray as $key => $val) { echo "$key = $val"; } Any ideas??? TIA -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php