Insert Variables Into A Passed String
| From: | SOHH.com Webmaster | Date: | Wed, 25 Apr 2001 02:21:03 +0000 |
| Subject: | Insert Variables Into A Passed String | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8855@lists.php.net to get a copy of this message | ||
Hey,
I'm trying to figure out how to make a custom message. What I have is a
form with a TEXTAREA named MAILFROM. I want to be able to write an e-mail
in that section like so:
Dear $username.
When I press submit, I want the query to cycle through a list of names (got
this part) and where it finds the variables in the text, replaces them with
the proper content. Like:
Dear steven
How can I do something like this?
Thanks.
Steven
-----Original Message-----
From: B. van Ouwerkerk [mailto:bvo@atz.nl]
Sent: Monday, April 23, 2001 10:26 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] can't connect to mysql
At 06:45 19-4-01 -0500, johndmiller wrote:
>I just looked at my mysql.sock file and it has a length of zero. Is this
>the right size, I don't think it is. If not, do I have to reinstall MySQL
>to get the file back or can I get it from somewhere else.
Length of zero.. thats perfectly normal.
Bye,
B.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net