$string = "Hello everyone!<br>How are you today?";
$result = str_replace("<br>", <br/>", "$string");

Tyler Longren
Captain Jack Communications

On Fri, 17 Aug 2001 17:40:07 +0200
"Jan" <[EMAIL PROTECTED]> 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.

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