PHP array manipulation

CrackerJackers

New Member
i have this array:\[code\]Array ( 0 => "3_some val", 1 => "1_some other val", 2 => "0_val", 3 => "2_value", 4 => "4_other value" )\[/code\]considering the above array, is there a way to do from that an array like this?\[code\]Array ( 0 => "val", 1 => "some other val", 2 => "value", 3 => "some val", 4 => "other value" )\[/code\]actually to force the number that precedes that underscore\[code\](_)\[/code\] to be the key in the newly created array. thanks
 
Back
Top