$result = $query->fetchArray(); $mishmember = $result['Mishmember']; unset($result['Mishmember']); $user = array_merge($result, $mishmember);