This topic is locked

'View As' Custom not behaving

2/10/2009 11:46:01 AM
PHPRunner General questions
G
gawde author

Using vers. 4.1 build 320
Am trying to add font color to certain values on a View page like this:
if ($value)

$value = "<font color=red>".$value."</font>";
The HTML comes out looking like this which displays the html as part of the value:

<TD class=editshade_lb style="PADDING-LEFT: 10px"

width=287>&lt;font color=red&gt;1 Less than average&lt;/font&gt;</TD>
Some additional info: on the Edit page this value is a Lookup table that displays the raw code plus the description.

Also, the database element is defined as small integer.
Anyone run into this that can point me to an answer?
Am planning on converting to 5.x but must go live as-is first.
Thanks.

J
Jane 2/13/2009

Greg,
answered in your personal email.