Re: help
On your index page, have it first check the variable in the URL by using something like this:
PHP Code:
$PAGE = $_GET['page];
Next, for each page you have, you need to have index.php do something with it:
PHP Code:
if ($PAGE=='testpage') {
//?page=testpage. Here is the "testpage" page.
} elseif ($PAGE=='lolz') {
//?page=lolz. Here is the "lolz" page.
}
Does that make sense? Between each bracket pair put the PHP to be executed for that page.
EDIT: It appears I've found an error in the forums... disregard the 'BEGIN__VBULLETIN__CODE__SNIPPET' things in the above codes, I don't know why they are there... I also didn't put the <?php things in there either, so disregard those, assuming you know how to use those tags.
Last edited by Cynical; 05-02-2006 at 07:52 PM.
Seven: This rule is so underrated, keep your family and business completely separated.