Re: render html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

are you propably using a wysiwyg-editor to edit this html?

my guess is ,your cms doesn't recognize <br /> as a valid tag and transforms
< and > to &lt; and &gt;

you should check your cms (or in case your wysiwyg-editor) docs for xhtml compatiblity ;)

cheers,
bb

Am 26.08.2008 um 08:24 schrieb VamVan:

hello,

i have html tags in the bod of text like:

$body = "hello<br/><ul>ier</ul>hellohello";

print $body;

Some how it does not render html properly in a html page , what might be
going wrong?  <br> still get displayed as <br> instead of line breaks.

How can I render my HTML properly. Please note that it happens in my cms.

Thanks

[Björn Bartels                       ]

[email :  bartels@xxxxxxxxxxxxxxxxxx ]
[home  :   http://dragon-projects.de ]
[skype :                  bb-drummer ]

[----------------------------------- ]

Diese E-Mail könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e- mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

[----------------------------------- ]










--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux