Re: [PHP] Re: sorting arrays

2005-03-09 Thread Jochem Maas
Brian A. Anderson wrote: RTFM arsort() Ok, so I use asort(), and I don't get the result I wanted. Instead I get the script telling me my foreach loop is wrong on the second test round, as if it did something other than simply sort the array. It seems that I can't access the array now? $nar = arra

Re: [PHP] Re: sorting arrays

2005-03-08 Thread Brian A. Anderson
> RTFM > arsort() Ok, so I use asort(), and I don't get the result I wanted. Instead I get the script telling me my foreach loop is wrong on the second test round, as if it did something other than simply sort the array. It seems that I can't access the array now? $nar = array('lma-bg51' => 1,