if you really wanna have fun, use the ternary operator
PHP Code:
<?
$page = "pages/".(($_GET['p'])?$_GET['p']:"Home").".txt";
if( file_exists($page) ){
include "$page";
}else{
print("<tr><td class=\"base\" colspan=\"2\">AN ERROR HAS OCCURRED!</td></tr>");
}
?>