I know i can use include() to get default pages to load within a table, but, is there anyway to create links in one <td> that will open a page in another <td>? So effectively my site would act as if it were framed, but isnt?
I've never actually tried that sort of thing, but an idea might be along the lines of those index.php?area=somename sites.
i.e. based on the given name/value pair you include a particular file within the html of that page.
yes it is possible - i have done it. you have to be carefult though make sure that the won't let you include /etc/passwd etc... only let it include from the directory you wish pages to be included in. so for example: //php <table> <tr> <td> <!-- my links --> <a href="?view=thispage.php">this page</a> <a href="?view=home">homepage</a> <!-- end my links --> </td> <td> <!-- content --> <?php if(!isset($view || $view == "home") { echo("welcome to the homepage"); //or include("homepage.php"); } else { // to make sure no one views /var/www/../../etc/passwd or whatever preg_replace('/..\//', '', $view); inclue("/var/www/".$view); } ?> <!-- end content--> </td> </tr> </table> //end php