I think I'm starting to understand. I took a shot at the code below and got this: Parse error: parse error, unexpected '?' in /homepages/25/d146129605/htdocs/index.php on line 34 and assume they're talking about this: if ($zfile) ? include ($zfile) : include('home.php'); What do I do with the ? in the line? Or where do I go to start trying to figure out how to fix it? I assume long-term I'm going to have to learn php, but right now I'm just focused on not getting hacked again :-/ And, by the way, they *don't* by any stretch of the imagination, have the same syntax. I cannot for the life of me figure out what that line, or the line below it, is supposed to do. Call me stupid if you want, but it is *NOT* obvious to someone who is new at it. I was able to get SemiApocalyptic's example to work, but it only serves the home page. There *is* a second page that has to be served, but the when you click on the second page, it shows the correct URL but the middle section is blank. If you click Home, the URL changes appropriately, but hte middle section is again blank. [!--quoteo(post=382013:date=Jun 9 2006, 12:28 PM:name=Crayon Violent)--][div class=\'quotetop\']QUOTE(Crayon Violent @ Jun 9 2006, 12:28 PM) [snapback]382013[/snapback][/div][div class=\'quotemain\'][!--quotec--] foreign code...? js and php have pretty much the same syntax. this really isn't that hard to implement. here's another example of pretty much the same thing that was already mentioned, with the code you provided above: index.php [code] <body> <?php @include('top.php'); ?> <div id="frame"> <div id="leftside"><?php @include('lside.php'); ?></div> <div id="maintext"> <?php //put your files in here. just add more in if you have more than 3 $acceptablefiles = array('home.php','contact.php','register.php'); if ($_GET['z']) { foreach ($acceptablefiles as $val) { if ($val == $_GET['z']) { $zfile = $val; } } if ($zfile) ? include ($zfile) : include('home.php'); } else { include ('home.php'); } ?> </div> <div id="rightside"><?php @include('rside.php'); ?></div> </div></body></html> [/code] [/quote]