|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ferre Smarty Rookie
Joined: 07 Jul 2003 Posts: 28
|
Posted: Mon Jul 07, 2003 9:02 am Post subject: array prob? plz help |
|
|
can someone tell me why it's not show ?
{include file=$TABFUNC[$FUNC]}
-----------------------------------------------------------------------------
include("C:/phpdev/www/CATV/class/config.php");
include("$cf_home_path/login_chk.php");
require("C:/phpdev/www/Smarty/Smarty_setup.php");
$smarty=new Smarty_index;
$smarty->assign(array(
SELF => $PHP_SELF,
FUNC => $smarty.get.func,
TABFUNC ,array(
'map' => 'map.tpl',
'index' => 'main.tpl',
'' => 'main.tpl'
)));
$smarty->display("index.tpl"); |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Mon Jul 07, 2003 10:26 am Post subject: |
|
|
this: Code: | FUNC => $smarty.get.func | does not work in php.
i think you mean:
Code: | FUNC => $_GET['func'] |
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|