Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

array prob? plz help

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
ferre
Smarty Rookie


Joined: 07 Jul 2003
Posts: 28

PostPosted: Mon Jul 07, 2003 9:02 am    Post subject: array prob? plz help Reply with quote

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
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Mon Jul 07, 2003 10:26 am    Post subject: Reply with quote

this:
Code:
 FUNC => $smarty.get.func
does not work in php.

i think you mean:
Code:
 FUNC => $_GET['func']
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP