﻿<?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 Free / JavaScript Problems   / FusionCharts - Database + JavaScript(DataURL) Example Not Working In PHP / 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>Sun, 07 Sep 2008 05:17:26 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: FusionCharts - Database + JavaScript(DataURL) Example Not Working In PHP</title><link>http://www.fusioncharts.com/forum/Topic5946-47-1.aspx</link><description>ITS WORKING NOW .. &lt;br&gt;&lt;br&gt;&lt;br&gt;for MySQL Users ..&lt;br&gt;File : DB_JS_dataURL &gt; FactoryData.php &lt;br&gt;&lt;br&gt;&lt;br&gt;To get things working replace ..&lt;br&gt;&lt;br&gt;   //Now, we get the data for that factory&lt;br&gt;    $strQuery = "select * from Factory_Output where FactoryId=" . $FactoryId;&lt;br&gt;&lt;br&gt;&lt;br&gt;With &lt;br&gt;&lt;br&gt;   //Now, we get the data for that factory&lt;br&gt;    $strQuery = "select DATE_FORMAT('%d',DatePro) as DatePro_day, DATE_FORMAT('%m',DatePro) as DatePro_month, Quantity from Factory_Output where FactoryId=" . $FactoryId;&lt;br&gt;&lt;br&gt;&lt;br&gt;AND&lt;br&gt;&lt;br&gt;REPLACE &lt;br&gt;&lt;br&gt;      // $strXML .= "&lt;set label='" . datePart("d",$ors['DatePro']) . "/" . datePart("m",$ors['DatePro']) . "' value='" . $ors['Quantity'] . "'/&gt;";&lt;br&gt;&lt;br&gt;&lt;br&gt;WITH &lt;br&gt;&lt;br&gt;            $strXML .= "&lt;set label='" . $ors['DatePro_day'] . "/" . $ors['DatePro_month'] . "' value='" . $ors['Quantity'] . "'/&gt;";&lt;br&gt;&lt;br&gt;[quote]$strXML ="";?? View source of this page to reveal xml code. [/quote]&lt;br&gt;Save It and refresh your page.&lt;br&gt;&lt;br&gt;Cheers&lt;br&gt;Dj&lt;br&gt;</description><pubDate>Fri, 22 Aug 2008 11:00:59 GMT</pubDate><dc:creator>wbdvlpr</dc:creator></item><item><title>RE: FusionCharts - Database + JavaScript(DataURL) Example Not Working In PHP</title><link>http://www.fusioncharts.com/forum/Topic5946-47-1.aspx</link><description>Hi &lt;br&gt;&lt;br&gt;Same problem with me.. I tried setting registered true for, both, factory summary and factory detailed but the problem is still there.&lt;br&gt;&lt;br&gt;pls help me out.&lt;br&gt;thanks&lt;br&gt;dj</description><pubDate>Fri, 22 Aug 2008 10:30:16 GMT</pubDate><dc:creator>wbdvlpr</dc:creator></item><item><title>RE: FusionCharts - Database + JavaScript(DataURL) Example Not Working In PHP</title><link>http://www.fusioncharts.com/forum/Topic5946-47-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;The problem might be because the detailed chart is not being registered with JavaScript. Could you please check that in your code?</description><pubDate>Sat, 07 Jun 2008 00:15:26 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: FusionCharts - Database + JavaScript(DataURL) Example Not Working In PHP</title><link>http://www.fusioncharts.com/forum/Topic5946-47-1.aspx</link><description>No reply from ANYONE after a month, huh.  Is no one using these forums?  Why hasn't someone from Fusioncharts posted?</description><pubDate>Fri, 06 Jun 2008 17:45:30 GMT</pubDate><dc:creator>Shogikishi</dc:creator></item><item><title>RE: FusionCharts - Database + JavaScript(DataURL) Example Not Working In PHP</title><link>http://www.fusioncharts.com/forum/Topic5946-47-1.aspx</link><description>the FusionCharts Database + JavaScript Example (in DB_JS folder) also experiences the same issue as mentioned above.&lt;br&gt;&lt;br&gt;Anyone else encounter this before?  What was the fix?</description><pubDate>Fri, 25 Apr 2008 13:41:00 GMT</pubDate><dc:creator>Shogikishi</dc:creator></item><item><title>FusionCharts - Database + JavaScript(DataURL) Example Not Working In PHP</title><link>http://www.fusioncharts.com/forum/Topic5946-47-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I'm using WAMPServer 2.0 and a mySQL database.  I'm going through the PHP samples and the DB_JS_dataURL sample is not working for me.  The summary pie chart renders just fine on page load in Firefox and IE.  Of course the bottom chart (Detailed) does not display, it shows the message "Please select a factory from pie chart above to view detailed data".  So up to this part it appears everything is working fine.&lt;br&gt;&lt;br&gt;When I click on any part of the pie chart there is no change to the page at all.  Specifically, there is no change to the Detailed chart that is supposed to be linked to the pie chart.  The link embedded into the pie chart is a javascript link using updateChart function that is defined in Default.php.  &lt;br&gt;&lt;br&gt;What is the problem?  What can I do to fix it?  If I can't get the sample to work, I am not encouraged to begin building javascript links and functions into custom chart pages.&lt;br&gt;&lt;br&gt;Shogikishi</description><pubDate>Fri, 25 Apr 2008 13:23:16 GMT</pubDate><dc:creator>Shogikishi</dc:creator></item></channel></rss>