Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XHTML on phpreports on windows shows < and >

Status
Not open for further replies.

scriggs

IS-IT--Management
Jun 1, 2004
286
GB
I have installed phpreports onto my windows box running PHP5. The basics of phpreports runs fine.

However when it parses the XHTML onto the screen it shows all the HTML tags instead of interpreting them, so my output looks like this on the screen:

Code:
<a HREF="[URL unfurl="true"]http://www.whatisacity.com"[/URL] TITLE="explain of what is a city" TARGET="_blank">usertype:</a> <SPAN CLASS="BOLD">admin</SPAN> 
name: <SPAN CLASS="BOLD"><a HREF="[URL unfurl="true"]http://localhost/getcustomerinfo.php?name=micchael"[/URL] TITLE="click here to check info about the customer" TARGET="_blank">micchael</a></SPAN>

If I view the source of the outputted page I see:

Code:
&lt;a HREF="[URL unfurl="true"]http://www.whatisacity.com"[/URL] TITLE="explain of what is a city" TARGET="_blank"&gt;usertype:&lt;/a&gt;</TD>
<TD COLSPAN="2" CLASS="HEADER">&lt;SPAN CLASS="BOLD"&gt;<a NAME="0"></a>admin&lt;/SPAN&gt;</TD>
</TR><TR>
<TD WIDTH="50" ALIGN="RIGHT" CLASS="HEADER">name:</TD>
<TD COLSPAN="2" CLASS="HEADER">&lt;SPAN CLASS="BOLD"&gt;&lt;a HREF="[URL unfurl="true"]http://localhost/getcustomerinfo.php?name=micchael"[/URL] TITLE="click here to check info about the customer" TARGET="_blank"&gt;micchael&lt;/a&gt;&lt;/SPAN&gt;

The problem is obviously that the HTML shows &lt; and &gt; instead of tag quotes < and >. Anyone any ideas where to look????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top