Solved

Flex HTML output

Posted on 2008-10-01
3
655 Views
Last Modified: 2013-12-12
In my flex application i need to show certain text which consists of html tags.I am giving you an example. <P>ABCDEFGHIJKLMN<b>OPQR</b>STU<i>VWX<i>YZ</P>.
Some <TABLE> tag are also present there.
The text should come to as it will show in html. I am passing the data through PHP from MYSQL database. Now it is showing me the as it was written previously. But i want that browser should parse the html portion. How to achieve these ?
Its urgent
0
Comment
Question by:akulavi
  • 2
3 Comments
 
LVL 19

Expert Comment

by:Gary Benade
ID: 22651307
The data is probably being stored in the database in escaped format, you will need to unescape it first
0
 

Author Comment

by:akulavi
ID: 22684665
i dont know regarding escaped format or unescaped format. User will enter the data through FCKEditor. And then data will save into MySql database as BLOB. So what can i do now ???
0
 
LVL 19

Accepted Solution

by:
Gary Benade earned 500 total points
ID: 22684790
Which component are you using to display this text data in flex?

If it's a TextBox are you setting the htmlText property to the html string above, or the text property?

Not all html tags are supported in flex, tags like table won't work for instance, it's mainly the formatting tags that work.

If you are using the htmlText property, put a breakpoint in the code and have a look what the text data looks like, if it's filled with ampersands & then you have to unescape the data in php before sending it to flex
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now