Re: ERROR with FastTemplate ????
| From: | Teodor Cimpoesu | Date: | Fri, 03 Nov 2000 12:12:32 +0000 |
| Subject: | Re: ERROR with FastTemplate ???? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23551@lists.php.net to get a copy of this message | ||
Hi Nikolajus!
On Thu, 02 Nov 2000, Nikolajus Krauklis wrote:
> When i parsing the page i've got this error:
> -----
> Warning: Invalid content of \{\} in
> /home/parkavim/www/class.FastTemplate.php3 on line 199
> ERROR: Nothing parsed, nothing printed
> -----
>
> The line of this error is:
> -----
> Line 199: $template =
> ereg_replace("\{$key\}","$val","$template");
{$key} has a different meaning in PHP4,
use '{'."$key}" instead.
-- teodor