Answers for "how to check if parameter exists in url with php"

PHP
0

php check if parameter exists in url

print_r($_GET); // to check the parm list in url

if(isset($_GET['id']))
{
  echo $_GET['id'];
    // Do something
}
Posted by: Guest on August-06-2021

Code answers related to "how to check if parameter exists in url with php"

Browse Popular Code Answers by Language