Hi,
I am trying to implement the following code to change content on my page, but I get the error:
Notice: Undefined variable: content in c:\web\htdocs\index.php on line 20
Here is the code:
<?
if($content=="") include('files/nphp/news.txt') ;
elseif($content=="about") include('files/about.php') ;
elseif($content=="contact") include('files/contact.php') ;
elseif($content=="download") include('files/download.php') ;
elseif($content=="downloads") include('files/downloads.php') ;
elseif($content=="logs") include('files/logs.php') ;
?>