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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to