$id = $array['id'];
unset($array['id']);
foreach($array as $k=>$v) {
$array[$k]['id'] = $id;
}
solved Arranging array in a proper format [closed]
$id = $array['id'];
unset($array['id']);
foreach($array as $k=>$v) {
$array[$k]['id'] = $id;
}
solved Arranging array in a proper format [closed]