Answers for "php get parameter from url if exists"

PHP
0

PHP check if url parameter exists

if(isset($_GET['id']))
{
    // Do something
}
Posted by: Guest on August-22-2021
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 "php get parameter from url if exists"

Browse Popular Code Answers by Language