Re: how do i continue with ereg replace?

From: Date: Thu, 15 Aug 2002 03:08:46 +0000
Subject: Re: how do i continue with ereg replace?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-112652@lists.php.net to get a copy of this message
So pass $good into the second call instead of $str On Wed, 14 Aug 2002 victor@argilent.com wrote: > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#112652) next »