using php functions
| From: | lists at yewlands dot com | Date: | Thu, 20 Feb 2003 14:38:56 +0000 |
| Subject: | using php functions | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7997@lists.php.net to get a copy of this message | ||
Hi
I have a form which can take its content from either a db or or normally from
$_POST.
Can I use php's functions (stripslashes) in a template without having to
redeclare it anywhere. ie.
{{stripslashes($form_vars.content)}}
When I try I get unrecognized tag: stripslashes.
It would seem a bit of overkill if I have to redeclare the php functions I need
to use within the template
Cheers
matt
-------------------------------------------------