Re: Store config files / values in SQL
| From: | Monte Ohrt | Date: | Wed, 17 Oct 2001 17:12:58 +0000 |
| Subject: | Re: Store config files / values in SQL | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1716@lists.php.net to get a copy of this message | ||
No, but can certainly write a custom function to handle that.
{sql_load db=mydb table=foo id=bar}
Sheldon Jones - Admin wrote:
>
> Can you pull config values from an SQL table.
>
> Maybe something like this?
>
> {config_load table="colors"}
>
> --
> --Sheldon
>
> ------------------------------------------------------
> Sheldon Jones
> Systems Administrator
> Lobo Internet Services, Ltd.
>
> mailto:sheldon@hobbydump.com
>
> Does Microsoft mean "small and limp"?
> What's with the 'Intel Inside' warning label anyway?
> ------------------------------------------------------
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/