the following code made it work, I dont know how, call it beginers luck as I dont know any PHP as yet..
WORKING CODE
<?
$page = $_GET['page'];
if (($page == "")){
include("text1.txt");
}else {
include($page);
}
?>
Now my next question. Is it possible to load 2 differnt text files (page1.txt & desc.txt) at the same time into two different tables ? eg:
viewpage.php?page=page1.txt&desc=desc.txt
is the above statement correct ?
Thanks again for your help.
Janak