Re: [SMARTY] DB Contains Smarty Tags..

From: Date: Mon, 20 Jan 2003 18:23:29 +0000
Subject: Re: [SMARTY] DB Contains Smarty Tags..
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7277@lists.php.net to get a copy of this message
On Mon, Jan 20, 2003 at 01:09:53PM -0500, Eric Coleman wrote: > Alright, I have content coming from the database, and it has something like > > {thisUrl} in it, which is a custom function I have > > The problem im runing into now, is that smarty won't parse it since im assignin' the > data right from the database to the template.. > > How can I get it to parse and run it's replacement son the data in the database before I > assign it to somewhere else? handle the content from your db as a ressource. see: http://smarty.php.net/manual/en/templates.from.elsewhere.php have fun messju > -- > Eric Coleman

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