Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End if “certain” variable exist… do this.? Re: if “certain” variable exist… do this.?

#93661
mikes02
Participant

You could also do:


echo isset($_GET) && $_GET == 'Hello' ? 'Enter Text You want to Echo' : '' ;
?>

by using isset you are ensuring that the $_GET actually exists and is not null: