I have this foreach here
<?php foreach($division as $value){
$arraydivision[] = $value['name'];
} ?>
but the keys come back as 0, 1, 2, 3, 4
I would like the keys to be also the names...I have tried
<?php foreach($division as $value){
$arraydivision[] = $value['name'] => $value['name'];
} ?>
But that didnt work, just gave me an error...anyone know why this is not working?