How append id to path in php

path, php

Solution

Change the `&` to a `?`

header("Location: ".$redirect."parties.php?id=$id");

Then in `parties.php`, you'll be able to access it with `$_GET['id']`

Problem

i am trying to passing id index page to another page as given below ``` $id=48; header("Location: ".$redirect."parties.php&id=$id"); ``` but its not working please help me

Original source