So pass $good into the second call instead of $str
On Wed, 14 Aug 2002 [EMAIL PROTECTED] 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("", " ", $str);
> $good = ereg_replace("", " ", $str);
>
> //echo ereg_replace("", " ", $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
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php