I have this...
Code: Select all
<?
if ($content == "code") { code(); }
else if ($content == "portfolio") { portfolio(); }
else if ($content == "communicate") { communicate(); }
else { news(); }
?>The problem I have is when I go to index.php I get these warnings...
Im not sure how to get rid of these warnings... I understand why I am getting them, but I cant seem to get rid of them. Any help would be apprectated.Warning: Undefined variable: content in C:\Inetpub\hosted\synister.org\index.php on line 63
Warning: Undefined variable: content in C:\Inetpub\hosted\synister.org\index.php on line 64
Warning: Undefined variable: content in C:\Inetpub\hosted\synister.org\index.php on line 65