Re: Re: xml_parse and xml entities

From: Date: Fri, 13 Dec 2002 01:25:03 +0000
Subject: Re: Re: xml_parse and xml entities
Groups: php.general 
Request: Send a blank email to php-general+get-128105@lists.php.net to get a copy of this message
Hi, If you are going to use this output in HTML pages, it won't matter at all, because HTMl only cares about <br>(s), so the additional line-feeds and even additional spaces(except the first space) won't be taken care of by the browser ;) or you have something additional to say ? Regards, Khalid Al-Kary,
Another problem I have is I did $message = str_replace("\n","<br>", $message); and instead of getting <text>Helo &lt;&lt;br&gt;&lt;br&gt;Hey&lt;br&gt;Hey</text> I have <text>Helo &lt; &lt;br&gt; &lt;br&gt;Hey &lt;br&gt;Hey</text> Any ideas please? Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

« previous php.general (#128105) next »