template in message string
| From: | Dan Rossi | Date: | Wed, 16 Apr 2003 13:24:03 +0000 |
| Subject: | template in message string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-144105@lists.php.net to get a copy of this message | ||
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"
Hello {username} you have changed your pass to {pass}
any ideas ?