Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Review Contents and HTML

Quote Reply
Review Contents and HTML
Greetings All!

For some reason, when I have html in Review_Contents (in the database - eg. <p>) the html gets unencoded when displayed on the pages, in other words displays <p> instead of inserting the html. Examination of the page source shows it is converting it to &gt; etc ...

In the database it is shown as <p>.

Anyone have any ideas why this is happening?

Thanks,


Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [Clint] Review Contents and HTML In reply to
Hi,

You could try this in review_include.html:

Code:
<%html_decode($Review_Contents)%>

Hopefully that will work.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!