I use flex and php to retrieve information from my sql database. What i have been doing is formatting the result from the database query into xml and then putting the result into an arraycollection. It all works fine except one of my database fields contains a lot of text that website users enter and as xml doesn't like tags like <> so I leave it un formatted but I would like to format it. Would I be better using flashvars or text than xml? Or is there another way?
Apache – httpservice result format
apache-flex
Best Answer
You should have your database code that produces the XML escape special XML characters (e.g. <, > and &) with the standard entities (<, > and &) and stick with XML.