CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 [solve] Add html in label

Print topic Send  topic

Author Message
sarah65536

Posts: 13
Posted: 07/17/2008, 2:05 AM

hello

I'd like to change the font of a label. I tried :

  
//$grid is the name on my grid  
//$ label1 is the name of my label  
$grid->label1->SetValue("<font color=RED>".$grid->label1->GetValue()."</font>");  

and, when I published my page I had :

Quote :
<font color=RED>test</font>
I don't know how can I do to execute html and not to print it.

If you have an idea, please tell it to me.
If you also know how can I change the value of the all line, explain to me.

Thank you for your future help

Sarah

PS : I'm french so be nice with my english.

View profile  Send private message
sarah65536

Posts: 13
Posted: 07/17/2008, 2:13 AM

I found the solution. I didn't change the contain of my label. It was text, I changed it to html, and now, it is good.
View profile  Send private message

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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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