I have an multidimensional array that looks like this:
Array ( [0] => Array ( [ClientID] => ec2173de2134fdsfg4fsdffcb4b5205 [Name] => ABC Widgets ) [1] => Array ( [ClientID] => e5dfgfdg2d760f640aadfgdfgdfg47b [Name] => Acme Co ) [2] => Array ( [ClientID] => b9dfgsdfg419085c3sdgffdsgfdg313 [Name] => 4321 Corp ) )
I would like to change to the following:
Array ( ec2173de2134fdsfg4fsdffcb4b5205 => ABC Widgets e5dfgfdg2d760f640aadfgdfgdfg47b => Acme Co b9dfgsdfg419085c3sdgffdsgfdg313 => 4321 Corp )
What is the best way to do so? Also, would I be better off storing the array in its original format and converting to other formats as needed? Thank you for any assistance