i am designing a web page with the secenario that a general template will display the contents you choose in a large table section in the template. for example if i click on resume, instead of displaying an entier new page, only the resume will be displayed in the large table section in template, if no chice, a default page is placed in teh section. sorry if that is confusing...
my code for that is placed in teh table to determin what content is displayed is:
<?
if($page)
readfile($page);
else
readfile("default.html");
?>
then when i create a link for a page to be displayed in the display section of template i type:
<a href="?page=resume.html>resume</a>
first i got the error undefined variable page...so i set the error checking to only display E_COMPILE_ERROR | etc. this worked, but still the page would not change. so i set the register_globals = on in the php.ini file. now i get a blank template when i try the link. however the default works on load everytime. i am using apache2 server and php 4.0.2. sorry for the length, hope you can help. thanks