so i have a code like this:
if ($var == null || 'NULL'){ echo "<h1>something</h1>"; echo "<div id='footer'><b>something</b><br/><br/><br/></div>"; echo "<b>something</b>";} else {} so, on my main page the value var == null and that's great because i want those linse to be displayed in that page, but if i have an iframe somewhere else and i want to set this variable to 1 like $var = 1 so it doesn't show in the iframe but instead will show on the main page because there the value is null, how can i do this?
iframewith PHP.if ($var == null || 'NULL'), notif (is_null($var) || $var === 'NULL')?if ($var == null || 'NULL'){toif (empty($var)){if (empty($var)){but my question how to trigger it from the iframe with someJquery or something