Quote:
Originally Posted by Bellardia
PHP Code:
if ($_GET['do'] == 'Something')
{
include('PAGENAME.HTML');
}
Change 'something' to what will be after do=, ie, if your page is www.mypage.com?do=run, then change it to 'something'. Change $_GET['do'] to what is before the equal sign...you could make it www.mypage.com?returnpage=first, then you would used $_GET['returnpage']. Use the include to fetch a html/php page from the same directory, or link it appropriately.
Or fetch a template instead.
|
I would rather fetch a template but this code wont work:
PHP Code:
if ($_GET['do'] == 'news1')
{
eval('print_output("' . fetch_template('newsmain1') . '");');
}
Could you give me a exact fetch template line?