Abdoral Neto Report post Posted April 12, 2011 I have a variable $xml who contains a string of xml to render a chart, if I do this: chart.setDataXML('".$xml."') occus a erro; But if I safe this string in a arquive like this: $arquivoXml = fopen("/charts/docs/_dataXml/grafico.xml", "a+"); $eues = fwrite($arquivoXml, $xml); fclose($arquivoXml); and I do chart.setDataURL('/charts/docs/_dataXml/grafico.xml') the chart is render. Whats the direrence?! Share this post Link to post Share on other sites
FusionCharts Support Report post Posted April 12, 2011 Hi, Will it be possible for you to share (attach) the XML with us? Please note that you might be having special characters like % & etc, which need to be URL Encoded or you might be having newline characters which needs to be removed before you can pass the XML as string from PHP. Share this post Link to post Share on other sites