note 9406 added to ereg_replace
| From: | joao dot correia at hamala dot pt | Date: | Wed, 01 Nov 2000 19:46:38 +0000 |
| Subject: | note 9406 added to ereg_replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7246@lists.php.net to get a copy of this message | ||
(HTML - WML)
I have a MySQL Surf report made by someone. I convert it to WML cause it has some html tags like
<br> and <p>. Using ereg_replace its easy ! This is how !
$report = ereg_replace "<p>|<br>", "<br/>", $report);
http://www.php.net/manual/function.ereg-replace.php