<?
if($p==""){ <---------- THERE SHOULD BE SOMETHING WRONG IN THIS
$p="main";
}
$page = $p;
$page .= ".php";
if(file_exists($page)){
include($page);
}
else{
include("fout.php");
}
?>
but it gives me this fault:
Notice: Undefined variable: p in E:\webhosting\lestella\home\new\index.php on line 2
I've got no idea what the exact problem is.. can anyone help me?...