The-Ensemble
Tue 26th Sep '06, 3:09pm
I can't seem to get a answer for this on VB.org, No one seems to take a few minutes to confirm yes or no, I hope someone here might be able to.
What needs to be put in where it says
// Block of code #1 & 2
Is there something specific or do I leave those there?
I'm new to php and the subpages Is something I REALLY want to use.
Creating "Subpages"
If you want to create "subpages" within your custom page, simply wrap blocks of code with the following structure:
if ($_REQUEST['do'] == 'test')
{
// Block of code #1
}
if ($_REQUEST['do'] == 'test2')
{
// Block of code #2
}
Is the code I need something like this?
if ($_REQUEST['do'] == 'xxx')
{
eval('print_output("' . fetch_template('TEMPLATE_XXX') . '");');
}
What needs to be put in where it says
// Block of code #1 & 2
Is there something specific or do I leave those there?
I'm new to php and the subpages Is something I REALLY want to use.
Creating "Subpages"
If you want to create "subpages" within your custom page, simply wrap blocks of code with the following structure:
if ($_REQUEST['do'] == 'test')
{
// Block of code #1
}
if ($_REQUEST['do'] == 'test2')
{
// Block of code #2
}
Is the code I need something like this?
if ($_REQUEST['do'] == 'xxx')
{
eval('print_output("' . fetch_template('TEMPLATE_XXX') . '");');
}