Quote:
Originally Posted by amcd
PHP Code:
if ($_REQUEST['do'] == 'uploaded')
{
eval('print_output("' . fetch_template('uploaded') . '");');
}
else
{
eval('print_output("' . fetch_template('upload') . '");');
}
This is trivial. This thread is turning into a general templating and php/html tutorial.
|
Sorry to bring even more tutorial needed stuff, but say I had my main page and wanted to be able to click a link that said something like "B". How would I get it to rearrange all of my B content to only show?
Code:
eval('print_output("' . fetch_template('main') . '");');
if ($_REQUEST['do'] == 'b')
{
eval('print_output("' . fetch_template('b') . '");');
}
--------------- Added [DATE]1241822038[/DATE] at [TIME]1241822038[/TIME] ---------------
How can I make a small table with a small border line, because my current border is like two lines wide.