View Single Post
  #8 (permalink)  
Old Dec 13th, 2006, 11:03
ukgeoff ukgeoff is offline
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Render html with php

As Ryan suggests, you need to look through your scripts to see where this code is being generated.
Code: Select all
<div class="newscontent">&lt;p&gt;This is a test&lt;/p&gt;<br /></div>
It's the fact that '<' is being replaced by '&lt;', etc., that is causing the problem.

I also notice that your html code contains tags like <CENTER>. These are deprecated in xhtml. You should be using css to centre items. As an additional note, tag (element) names should always be in lowercase with xhtml.
Reply With Quote