# Cdata and xml

**URL:** <https://forum.kirupa.com/t/cdata-and-xml/216547>\
**Category:** Uncategorized\
**Created:** [February 17, 2007, 9:22pm UTC](https://forum.kirupa.com/t/cdata-and-xml/216547 "2007-02-17T21:22:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iwiniquit](https://avatars.discourse-cdn.com/v4/letter/i/7993a0/32.png) [@iwiniquit](https://forum.kirupa.com/u/iwiniquit)\
**Post date:** [February 17, 2007, 9:22pm UTC](https://forum.kirupa.com/t/cdata-and-xml/216547/1 "2007-02-17T21:22:39Z")

</div>

Are there any special things I have to do in order to get CDATA to work so I’m able to use apostrophe’s with text I bring in from a mysql database?

Basically all I’m doing is making a .php file that echo xml tags and brings in the data. Then I set a CDATA tag between the xml tags where it’s needed but it still brings in apostrophe’s and stuff as &APOS;; when I load it into flash.

Am I missing something? Is it because I’m running it from a .php file instead of .xml?

Any help would be greatly appreciated!
