nikos101
12-12-2008, 09:47 PM
Hi coders, long time no see!
Ok heres my problem:
I use this to pull in content
if( isset($_GET['page'])){
include('pages/'.$_GET['page'].'.php') ;
}
However if the page doesn't exist I get an error. What is the best way to check for this?
Ok heres my problem:
I use this to pull in content
if( isset($_GET['page'])){
include('pages/'.$_GET['page'].'.php') ;
}
However if the page doesn't exist I get an error. What is the best way to check for this?