This topic is locked

Custom code output is wrong

5/9/2007 8:15:49 AM
PHPRunner General questions
F
funkfish author

Hello,
My custom code is as follows:

if ($value=='Pass')

$value="<table bgcolor=lightgreen><tr><td>".$value."</td></tr></table>";

else if ($value=='Fail')

$value="<table bgcolor=red><tr><td>".$value."</td></tr></table>";

When I export to excel I get this in place of "Pass" or "Fail":

<table bgcolor=lightgreen><tr><td>Pass</td></tr></table>
I am using build 247.
Many thanks!

Sergey Kornilov admin 5/10/2007

Fixed in build 249. Thanks for pointing me to this.

F
funkfish author 5/29/2007

Fixed in build 249. Thanks for pointing me to this.


Hi Sergey,
I still see this in v4 build 258.

Custom code is the following:

if ($value=='CIS')

$value="<table bgcolor=red><tr><td>".$value."</td></tr></table>";

else if ($value=='CIE')

$value="<table bgcolor=lightgreen><tr><td>".$value."</td></tr></table>";

Output when exported is:

<table bgcolor=lightgreen><tr><td>CIE</td></tr></table>
Thanks.....

Sergey Kornilov admin 5/30/2007

Post this app to demo account and send the URL with instructions on reproducing this error to support@xlinesoft.com.