Re: [SMARTY] I new in Smarty

From: Date: Tue, 01 Mar 2005 04:59:45 +0000
Subject: Re: [SMARTY] I new in Smarty
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12280@lists.php.net to get a copy of this message
Reynier, On Tue, 1 Mar 2005 05:32:11 +0100 (CET), Reynier Pérez Mira <reynierpm@yahoo.es> wrote: > $table = "<table width="100%" border="0" cellspacing="0" > cellpadding="0"> > <tr> > <td>&nbsp;</td> > <td>&nbsp;</td> > </tr> > <tr> > <td>&nbsp;</td> > <td>&nbsp;</td> > </tr> > <tr> > <td>&nbsp;</td> > <td>&nbsp;</td> > </tr> > <tr> > <td>&nbsp;</td> > <td>&nbsp;</td> > </tr> > <tr> > <td>&nbsp;</td> > <td>&nbsp;</td> > </tr> > </table>"; I think you're kind of missing the point of Smarty: separation of application code/data and presentation. I'm not sure what you're trying to do, but that HTML should be in the Smarty template itself, not being assigned to the template from PHP. -- Matt Warden Miami University Oxford, OH, USA http://mattwarden.com This email proudly and graciously contributes to entropy.

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