Re: Why wont this work?

From: Date: Tue, 24 Jul 2001 00:49:27 +0000
Subject: Re: Why wont this work?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-59283@lists.php.net to get a copy of this message
On Wed, 25 Jul 2001 01:53, Dan Krumlauf wrote: > news_publish.php > *************** > $templine = > preg_replace("/(<NEWS>)(.*?)(<\/NEWS>)/i","\\1$news\\2", > $templine)); > > Parse error: parse error in /php/work/boz/news_publish.php on line 8 I think you have one too many closing brackets. May I suggest you acquire an editor that is capable of showing and highlighting matching parentheses? It makes life much easier :-) -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA I'm not as thunk as you drink I am.

« previous php.general (#59283) next »