Re: [SMARTY] unexpected T_EXTENDS
| From: | Mark Rogers | Date: | Fri, 19 Jul 2002 10:05:13 +0000 |
| Subject: | Re: [SMARTY] unexpected T_EXTENDS | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5366@lists.php.net to get a copy of this message | ||
> I'm a new user of SMARTY and I'm working my way
> through the on-line Smarty Manual but have hit a snag
> on the 'Extended Setup' section:-
Hmm, try:
class Smarty_GuestBook extends Smarty {
(ie add the "class" keyword).
The code you have isn't valid PHP, so it looks like the docs are wrong.
Mark Rogers,
Quarella Ltd