raju82 Report post Posted February 28, 2007 Hey all Let me first say how I have my web site directory set up I have a 'admin' section and a 'user' section. Now when I view my charts in the admin section with IE 7 it is fine and also in FF in works fine too, however when I view in my user section the chart doesn't display - it just has the "movie is not loaded" box but in FF it works fine! Here is my code for echoing the chart: $strXML = ""; $strQuery = "SELECT WEEK(answers.answerdate) AS d, avg(answers.answervalue) AS avg_value, playerid FROM answers, calendar WHERE answers.answerdate AND answers.playerid = '$playerid' AND calendar.diaryflag = 1 GROUP BY d ASC"; $result = mysql_query($strQuery) or die(mysql_error()); while($ors = mysql_fetch_array($result)) { $strXML .= ""; } $strXML .= ""; echo renderChart("charts/Line.swf", "", $strXML, "FactorySum", 500, 350, false, false); PLEASE HELP!!!! Share this post Link to post Share on other sites
raju82 Report post Posted February 28, 2007 It seems to remove the XML parts check here: http://pastebin.ca/375480 Share this post Link to post Share on other sites