Re: using php functions

From: Date: Thu, 20 Feb 2003 15:17:39 +0000
Subject: Re: using php functions
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8004@lists.php.net to get a copy of this message
Or use them as modifier {$form_vars.content|stripslashes} {$foo|strtolower} etc. André <lists@yewlands.com> schrieb im Newsbeitrag news:1045751936.3e54e88096aa5@webmail.yewlands.com... > 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 > > > ------------------------------------------------- >

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