Passing a value in the URL for use by PHP
PHP
When you pass a value in a URL, like this: https://www.mysite.com/mypage.php?id=20
You can access the value (or values) passed as follows:
$myid = $_GET['id'];
When you pass a value in a URL, like this: https://www.mysite.com/mypage.php?id=20
You can access the value (or values) passed as follows: