I know this is like, PHP 101... I used to so this a million times but I can't get it to work for some reason.
I have text that I only want to show on my index page.
In my index I have
<?php
$bnindex = 1;
?>
In my footer I have
<?php
if ($bnindex == 1;) {
echo 'test';
}?>
Super, super, super basic. But it doesn't work. I've tried using the value of "yes" (with quotes) and still nothing.
I know I'm no PHP hacker, but this is like.. I mean. I dunno. Is there something obvious that I'm not seeing?