Problems with eval

From: Date: Thu, 27 Feb 2003 00:32:50 +0000
Subject: Problems with eval
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8238@lists.php.net to get a copy of this message
Hi, I Have problems with eval - what I try to do is -----8<----- PHP: $s->assign("a","Hallo {$b}"); $s->assign("b","Joscha"); Template: {* Smarty *} {$a} -----8<----- since this does not work, I tried eval: -----8<----- PHP: $s->assign("a","Hallo {$b}"); $s->assign("b","Joscha"); Template: {* Smarty *} {eval var=$a} -----8<----- but it doesnt't work - what am I doing wrong? greets, Joscha

« previous php.smarty.general (#8238) next »