note 58526 rejected from function.str-replace by cece
| From: | cece@php.net | Date: | Mon, 07 Nov 2005 15:01:21 +0000 |
| Subject: | note 58526 rejected from function.str-replace by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-98194@lists.php.net to get a copy of this message | ||
Note Submitter: namit at eircom dot net
----
How do you use str_replace to do the following
namitbla@eircom.net
namt@eircom.nmet
blac@bla.com
from a <textarea></textarea> to another textarea remove the enter marks and put in
", " (excluding the "") so that it turns out like below.
namitbla@eircom.net, namt@eircom.nmet, blac@bla.com