AnsweredAssumed Answered

Using HTML for displaying records

Question asked by Polarpro on Aug 25, 2010
Latest reply on Sep 2, 2010 by Polarpro

Title

Using HTML for displaying records

Post

Hey there,

For a long time I've been using happily the webviewer to display my records in browse mode. As my records contain many empty fields I use a calculation field, and the result is an HTML table that then is shown in the webviewer and that shows only the fields that have a value, plus a few nice horizontal lines in-between  :-)

I am now in the process of setting up a solution for an Intranet, using PHP and the PHP Site Assistant (PHPSA). I am actually quite content with the result, except one thing. Instead of telling PHPSA to display a bunch of fields (most of them being empty), I thought it is easiest to simply use my calculation field for display and simply pass on some HTML code. On my PHP website the contents of my calculation field are being displayed; however, the Greater-than and Lower-than signs are shown as > and <, instead of being recognized as HTML signs. I looked up the source code and saw that > and < were translated to &gt; and &lt;

So, my question is: What can I do to tell the browser / my PHP sites, that I don't want my text to be translated into HTML code (as I need the real > and < for displaying tags)? I've tried to delete several methods, but couldn't find what actually caused this unwanted translation. The attached screenshot might be helpful.

Thanks a lot...

Mike


Screenshot.png

Outcomes