vietfancy
01-18-2009, 04:07 AM
I need a little help!
How to have more than one function in the same template?
in stead of use 2 templates as below, is there anyway that we can just use 1 template?
if ($_REQUEST['do'] == 'this')
{
eval('print_output("' . fetch_template('do_this') . '");');
}
if ($_REQUEST['do'] == 'that')
{
eval('print_output("' . fetch_template('do_that') . '");');
}
How to have more than one function in the same template?
in stead of use 2 templates as below, is there anyway that we can just use 1 template?
if ($_REQUEST['do'] == 'this')
{
eval('print_output("' . fetch_template('do_this') . '");');
}
if ($_REQUEST['do'] == 'that')
{
eval('print_output("' . fetch_template('do_that') . '");');
}