Solved

Flex HTML output

Posted on 2008-10-01
3
659 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
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 …

832 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