$user['id'] ?? '-', 'notes' => $user['notes'] ?? '-', 'parent_id' => $user['parent_id'] ?? '-', 'max_nodes_per_pid' => $user['max_nodes_per_pid'] ?? '-' ]; }, $response['items']); // Filter the user list to get the user with pid='sugeorg' $user_details_fetch = array_filter($user_list, function($user) { $_SESSION["id_test"]=$_POST['id']; return $user['id'] === $_POST['id']; }); } } ?>