note 36340 deleted from function.preg-replace by pollita
| From: | pollita@php.net | Date: | Mon, 06 Oct 2003 15:27:25 +0000 |
| Subject: | note 36340 deleted from function.preg-replace by pollita | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57896@lists.php.net to get a copy of this message | ||
Note Submitter: jpleveille at webgraphe dot com
----
About the "Convert HTML to text"
The $replace array starts like this:
$replace = array ("",
"",
Words can be concatenated this way (<td>one</td><td>word</td> would become
oneword and not "one word").
But I replaced the two empty spaces by real spaces here:
$replace = array (" ",
" ",
Hope this helps!