i just installed apache and the latest version of php and i keep getting this error Undefined variable:id in the code below;
<?php
switch($id) {
default:
include('/phpscripts/phpnews/news.txt');
break; case "aim icons":
include('aim icons.html');
break; case "contact":
include('contact.html');
break; case "files":
include('files.html');
break; case "about":
include('about.html');
break; case "contact":
include('contact.html');
break; case "albums":
include('albums.html');
}
?>
if any1 could help me i would appreciate it alot