﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / FusionCharts and PHP  / unescape(strURL) is removing data / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Wed, 03 Dec 2008 02:04:06 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: unescape(strURL) is removing data</title><link>http://www.fusioncharts.com/forum/Topic4610-31-1.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;Please use escape() function for URL encode ok. It will solve your problem&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: 'Courier New'"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: 'Courier New'"&gt;strURL = escape(strURL);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;</description><pubDate>Thu, 21 Feb 2008 00:02:37 GMT</pubDate><dc:creator>Arindam</dc:creator></item><item><title>unescape(strURL) is removing data</title><link>http://www.fusioncharts.com/forum/Topic4610-31-1.aspx</link><description>In debug mode I have noticed that the unescape(strURL) is removing everything after &amp;amp; symbol why is this&lt;P&gt;[CODE]&lt;/P&gt;&lt;P&gt;   var strURL = "createChart.php?chartType=stacked&amp;amp;view=all&amp;amp;date=2007-11-08";&lt;BR&gt;   strURL = unescape(strURL);&lt;/P&gt;&lt;P&gt;   //alert(strURL);&lt;/P&gt;&lt;P&gt;   chart_chartID = new FusionCharts("flash/MSStackedColumn2D.swf", "chartID", 950, 370, "1", "1");&lt;BR&gt;   chart_chartID.addParam("wmode", "transparent");&lt;BR&gt;   chart_chartID.setDataURL(strURL);&lt;BR&gt;&lt;/P&gt;&lt;P&gt;[/CODE]&lt;/P&gt;&lt;P&gt;result in debug mode:&lt;/P&gt;&lt;P&gt;[quote]&lt;/P&gt;&lt;P&gt;INFO: Chart registered with external script. DOM Id of chart is chartID&lt;BR&gt;INFO: XML Data provided using dataURL method.&lt;BR&gt;&lt;FONT color=#ff1111&gt;dataURL provided: createChart.php?date=2007-11-28&lt;BR&gt;dataURL invoked: createChart.php?date=2007-11-28&lt;/FONT&gt;&lt;BR&gt;ERROR: An error occurred while loading data. Please check your dataURL, by clicking on the "dataURL invoked" link above, to see if it's returing valid XML data. Common causes for error are: &lt;BR&gt;No URL Encoding provided for querystrings in dataURL. If your dataURL contains querystrings as parameters, you'll need to URL Encode the same. e.g., Data.asp?id=101&amp;amp;subId=242 should be Data%2Easp%3Fid%3D101%26subId%3D242&lt;BR&gt;Different sub-domain of chart .swf and dataURL. Both need to be same owing to sandbox security.&lt;BR&gt;Network error&lt;/P&gt;&lt;P&gt;[/quote]&lt;P&gt;as you can see by the highlighted red part the whole url string is not being passed. please help.</description><pubDate>Wed, 20 Feb 2008 17:29:06 GMT</pubDate><dc:creator>mrras25</dc:creator></item></channel></rss>