$newarray = array(); foreach($shop as $key=>$value) { $newarray[$key]['Title'] = $value['Title']; $newarray[$key]['Number'] = $value['Number']; } echo "<pre>";print_r($newarray);