SyntaxFix
Write A Post
Hire A Developer
Questions
You can get that value by using the $_GET array. So the id value would be stored in $_GET['id'].
$_GET
$_GET['id']
So in your case you could store that value in the $id variable as follows:
$id
$id = $_GET['id'];