Re: XHTML compatible error messages

From: Date: Fri, 17 Aug 2001 15:44:10 +0000
Subject: Re: XHTML compatible error messages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63199@lists.php.net to get a copy of this message
$string = "Hello everyone!<br>How are you today?"; $result = str_replace("<br>", <br/>", "$string"); -- Tyler Longren Captain Jack Communications tyler@captainjack.com www.captainjack.com On Fri, 17 Aug 2001 17:40:07 +0200 "Jan" <vincev@gmx.de> wrote: > Hi out there! > > I have got a problem with PHP's standard way of reporting errors. > The <br> in the error messages are making the XML invalid (should be > <br/>). Is there an easy way to do this? > > Jan. >

« previous php.general (#63199) next »