At 10:30 11.03.2003, Diana Castillo said: --------------------[snip]-------------------- >If I have a multi dimension array like this: >Array ( [provider] => Array ( [0] => 3 [1] => 2 [2] => 4 [3] => 1 ) >[priority] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 ) >how do I take off the top elements so I will only have three providers and >three priorities left? >If I do array_shift, it takes off all of the providers. --------------------[snip]--------------------
You need to handle all subarray separately. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php