Re: [SMARTY] PHP parsing error on Smarty assign

From: Date: Wed, 30 Jun 2004 20:36:19 +0000
Subject: Re: [SMARTY] PHP parsing error on Smarty assign
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11510@lists.php.net to get a copy of this message
Eric Ocean wrote:
24                                                    "code" => <<<EOD
25     return NULL;
26 EOD;
hi, this is not exactly a smarty prob, you should really consult the php list. but so what: you can't use heredocs in this context. try just assigning something to 'code' and it will work (did here). cheers martin -- God, root... where's the difference? (Pitr, www.userfriendly.org) Please use my public PGP key: http://www.mbant.de/mbant-gpg-key

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