Ok this is easy, basic code using a variable, $page. $Page is a variable that is used to pass the page's name.
<HEAD>
<TITLE>Neil McGlennon Design :
<?php echo($page); ?></TITLE>
...
Neil McGlennon Design <br>
<?php echo($page); ?>
...
So when I type in the URL
.../prototype.php?page=Index
I get the title saying:
Neil McGlennon Design : Index
and the body text saying:
Neil McGlennon Design
Index
This is what I wanted, and I plan on having a conditional statement (if and elses) that test the values of the $page value to determine content... BUT...
if someone types in anything in the URL
(ex: .../prototype.php?page=XXXXXX ), they will get a page with whatever they typed in the title, and body. Is there a way so that if they type in a $page value that is not used for content, it will default to the main page? For example of what I am talking about, alter http://www.pixelcore.com/main.php3?go=affils&skin=bluebox
to
http://www.pixelcore.com/main.php3?go=blahblahblah&skin=bluebox
and it doesnt go to that page, it instead goes to the main page, unlike mine would. Any help would be great.