I already have the following array;
Array
(
[0] => Array
(
[id] => 1
[name] => Categorie 1
)
[1] => Array
(
[id] => 2
[name] => Categorie 2
)
[2] => Array
(
[id] => 3
[name] => Categorie 3
)
)
And what I would like to get is this (for the select dropdown form in CodeIgniter)
array(
'1' => 'Categorie 1',
'2' => 'Categorie 2',
'3' => 'Categorie 3'
);
I have been searching for this for the rest 2 hours but still don't even know what is the correct title.