Re: Problems with eval

From: Date: Thu, 27 Feb 2003 01:02:06 +0000
Subject: Re: Problems with eval
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8239@lists.php.net to get a copy of this message
Joscha Feth wrote: > since this does not work, I tried eval: > > -----8<----- > PHP: > $s->assign("a","Hallo {$b}"); > $s->assign("b","Joscha"); allright, got it (sometimes it seems as if I am writing too many Dollar signs :-) the correct code is: -----8<----- PHP: $s->assign("a","Hallo {\$b}"); $s->assign("b","Joscha"); -----8<----- greets and thanks anyways, Joscha

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