PHP
How to retrieve url parameters with $_GET
$_GET, method GET, retrieve url parameters, form GET
Code to retrieve the values from $_GET url parameters
How to get the url parameters values using GET.
Example URL
http://localhost/phppractice/WebPHP/05_get.php?param1=first¶m2=second
<?php // File: 05_get.php $url_parameter1 = $_GET["param1"]; $url_parameter2 = $_GET["param2"]; echo "Param1 = ".$url_parameter1. " - Param2 = ". $url_parameter2;