print_r($_GET); // to check the parm list in url if(isset($_GET['id'])) { echo $_GET['id']; // Do something }