I was told I had to add a ternary operator to make my conditional work. Am a newb so not really sure how to do that.
<div id="notification-container">
<div id="notification">'.if(isset($_COOKIE['HotspotUserEmail'])){$m01}else{$m03}.'<div id="secondary">'.$m04.'</div>
</div></div>
What I am trying to achieve is, if cookie is present I want the contents of the first variable to be display. If there isn't one, I want the else to be.