Re: [SMARTY] PHP parsing error on Smarty assign
| From: | Martin Braun | 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:
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-key24 "code" => <<<EOD 25 return NULL;26 EOD;