note 36340 added to function.preg-replace
| From: | jpleveille at rn2 dot php dot net | Date: | Mon, 06 Oct 2003 13:45:10 +0000 |
| Subject: | note 36340 added to function.preg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-57892@lists.php.net to get a copy of this message | ||
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!
----
Manual Page -- http://www.php.net/manual/en/function.preg-replace.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36340
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36340&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36340&report=yes
Search -- http://master.php.net/manage/user-notes.php