0
How do we materialize " [url]?parameter= " in php?
I want to make a condition so a if a user pass ?parameter= With just an equal and no value after , then I do something
2 ответов
+ 1
either using if(isset($_GET['parameter'])) or if(!empty($_GET['parameter']))
not sure which one
+ 1
if ($_GET['parameter'] === '')
or
if (empty($_GET['parameter']))