Re: [SMARTY] Extreme newbie questions

From: Date: Wed, 21 Jan 2004 23:05:49 +0000
Subject: Re: [SMARTY] Extreme newbie questions
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10861@lists.php.net to get a copy of this message
On Wed, Jan 21, 2004 at 04:00:31PM -0700, Robin Kopetzky wrote: > Good afternoon! > > I am revamping an auction site to use Smarty. I have a couple of quick > questions. > > 1. Can a comment span several lines? sure. > 2. Does Smarty work well with any php code that does database access from > inside the 'template' file? maybe, but it's against the concept. database access is business logic - the templates should only contain display logic. > 3. Does all php code have to be moved to the php file that calls Smarty > templates? Docs show very basic information on this... see 2. > Thanks in advance. > > Robin 'Sparky' Kopetzky > Black Mesa Computers/Internet Service > Grants, NM 87020

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