Say if I have an if{}else statement like this:
I have what page to load if the variable $content is set, and what page to load if the variable $content is not set. Now, say I have a link that loads a page, but there is no such page to load. When that happens I would like to load a page saying "This page cannot be found" or something like that. How would I do that? Thanks!PHP Code:if ( isset($content) ) {
include("$content.htm");
} elseif ( !isset($content) ) {
include("home.htm");
}







Bookmarks