Re: template in message string
| From: | rush | Date: | Wed, 16 Apr 2003 13:32:18 +0000 |
| Subject: | Re: template in message string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144113@lists.php.net to get a copy of this message | ||
"Dan Rossi" <daniel@electroteque.org> wrote in message
news:EJECKPELDLGDPHHJOEDLMEFMEJAA.daniel@electroteque.org...
> hi guys i am trying to setup predefined messages which will contain
> variables than need to go through it for instance
>
> Hello {username} you have changed your pass to {pass} this is the message
> setup in my settings,ini file which i extract using parse_ini_file , i
> basically need to find a way to convert both ther {username} and {pass}
and
> send the variables of the same name to the string for instance
>
> $username = "dan"
> $pass = "dan"
pick any template engine/system, fasttemplate, Smarty, TemplateTamer, to
name a few.
rush
--
http://www.templatetamer.com/