CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 custom label formatting?

Print topic Send  topic

Author Message
DeRyl
Posted: 07/30/2004, 3:25 AM

hello,

how can I make custom string format to change font color in label?

i want to select words which are found after searching by changing the font color

in "before show row" i have:

$klient->klientnazwa->SetValue(str_replace(ucfirst($wyniki[$q]),"<font color=orange". ucfirst($wyniki[$q]) . "</font>",$klient->klientnazwa->Value));

after publishing I see:

"Help" <font color=orange>Cen</font>ter <font color=orange>Sto</font>rage

instead of proper string with colors...

what's wrong?
how can I make it properly?

does anybody know?

with regards
DeRyl
DaveRexel

Posts: 50
Posted: 07/30/2004, 3:48 AM

::
Hi DeRyl

Have you set the Label's property to HTML in the IDE?
_________________
/Dave
RexDesign CodeCharge Studio Tutorials
http://rexdesign.com/ccs/
View profile  Send private message
DeRyl
Posted: 07/30/2004, 3:58 AM

thank you

that's all - it works :-)

DeRyl

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.