Home › Forums › Back End › if “certain” variable exist… do this.? › Re: if “certain” variable exist… do this.?
December 29, 2011 at 5:49 pm
#93661
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: