Forum Moderators: coopster
if(true) $page = "n";
else $page = "b";
include $page . '.html';
Just keep in mind that the include function is relative to the server's file system not the website. A file located in the root of your website can be included from anywhere in the site structure by using this
include $_SERVER [ca.php.net]['DOCUMENT_ROOT'] . $page . '.html';