Home › Forums › Back End › if “certain” variable exist… do this.? › Re: if “certain” variable exist… do this.?
December 29, 2011 at 6:46 pm
#93670
noahgelman
Participant
Shouldn’t it rather be:
isset($_GET) && $_GET == 'Hello' ? echo 'Enter Text You want to Echo'; ?>
?>
That way it only performs the echo if it exists. If it doesn’t exist, there’s no need to echo anything and doesn’t slow the page.