note 4802 deleted from ereg_replace by philip
| From: | philip@php.net | Date: | Mon, 27 Aug 2001 12:32:07 +0000 |
| Subject: | note 4802 deleted from ereg_replace by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17190@lists.php.net to get a copy of this message | ||
replace a search string with the same search string but highlighted:
$text = eregi_replace( "($search)","<font color=red>\1</font>",$text
);