Re: [SMARTY] Smarty and Oracle (databases)
| From: | Robert | Date: | Wed, 15 Dec 2004 15:12:58 +0000 |
| Subject: | Re: [SMARTY] Smarty and Oracle (databases) | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12042@lists.php.net to get a copy of this message | ||
"Monte Ohrt" <monte@ispi.net> wrote in message
news:41BF7874.5050808@ispi.net...
> If you mean getting database information into a template for display,
> there isn't really anything Smarty specific about it. Basically you get
> the database content into PHP arrays (choose your poison), then assign
> those arrays to the template with $smarty->assign(...)
>
> Here is one example:t
> http://smarty.php.net/contribs/examples/mysql/
>
> If you mean maintaining your templates in a database, see the manual about
> templates from other sources:
> http://smarty.php.net/manual/en/templates.from.elsewhere.php
>
> Monte
>
Thanks, first one was exactly what I was meaning. :-)
Robert