Re: ereg_replace help
| From: | Jason Wong | Date: | Mon, 04 Feb 2002 05:42:10 +0000 |
| Subject: | Re: ereg_replace help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83356@lists.php.net to get a copy of this message | ||
On Monday 04 February 2002 13:31, John P. Donaldson wrote:
> I'm not actually replacing \n with <br>, I just used
> that as an example. When I tried Martin's solution, I
> got a parse error on this line:
>
> $content = implode($lines, "\n",);
You've got a trailing comma.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
A halted retreat
Is nerve-wracking and dangerous.
To retain people as men -- and maidservants
Brings good fortune.
*/