php check if parameter exists in url

Solutions on MaxInterview for php check if parameter exists in url by the best coders in the world

showing results for - "php check if parameter exists in url"
Ivanna
08 Aug 2016
1if(isset($_GET['id']))
2{
3    // Do something
4}
5
Nico
25 Nov 2017
1print_r($_GET); // to check the parm list in url
2
3if(isset($_GET['id']))
4{
5  echo $_GET['id'];
6    // Do something
7}