This topic is locked

problem when exporting

6/4/2012 3:30:11 PM
PHPRunner General questions
B
bilboss author

help, I have this code in the textbox

$ value = number_format ($ value, 0, ',', '.');

if ($ value> 1) $ color = "black";

else $ color = "red", $ value = "<font color='$color'> <B> $ value </ B> </ font>";
the problem I have is that when I export to Excel, export the code and want to only export the value ... as achieving this,

thanks
example in Excel looks like this
<font color='$color'> <B> 20,125 </ B> </ font>