how do i continue with ereg replace?
| From: | victor at argilent dot com | Date: | Thu, 15 Aug 2002 03:03:33 +0000 |
| Subject: | how do i continue with ereg replace? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112651@lists.php.net to get a copy of this message | ||
I want to have the ereg_replace action happen many times before the
result is echoed, how do I do this? The following is the code that I
have that obviously is flawed because the later variable as afar as ai
know cancels out the first one...
$good = ereg_replace("<o:p></o:p>", " ", $str);
$good = ereg_replace("</head>", " ", $str);
//echo ereg_replace("</o:p>", " ", $str);
echo $good;
help appreciated.
- Vic
______________________________________________________________________
Post your ad for free now! http://personals.yahoo.ca