Sign in to follow this  
Guest Basundhara Ghosal

Urgent!!! Problem Loading charts with IE. Please help!

Recommended Posts

Hi, I'm also having the same problem. I have all other browsers running except the abominable IE.

 

 

 

here is my project:

 

http://www.automotive-management-services.com/ams_php/technical/index.php

 

 

 

username: user1

 

password: user11

 

 

 

I Plotted Fusioncharts from a database and followed the codes as written on the documentation that the package came with. I used PHP on it.

 

 

 

 

 

This is the code i used:

 

=======================================================================

 

<?php

 

//Connect to the DB

 

$link = connectToDB();

 

 

 

//$strXML will be used to store the entire XML document generated

 

//Generate the chart element

 

$strXML = "";

 

 

 

//Fetch all records

 

$strQuery = "SELECT

 

tb_make.Make,

 

tb_make.Qty,

 

tz_members.usr

 

FROM

 

tb_make

 

Inner Join tz_members ON tb_make.cusid = tz_members.cusid

 

WHERE

 

tb_make.cusid = '". $_SESSION['cusid'] ."' ";

 

$result = mysql_query($strQuery) or die(mysql_error());

 

 

 

//Iterate through each factory

 

if ($result) {

 

while($ors = mysql_fetch_array($result)) {

 

 

 

$strXML .= "";

 

 

 

 

 

}

 

}

 

mysql_free_result($result);

 

mysql_close($link);

 

 

 

//Finally, close element

 

$strXML .= "";

 

 

 

$strXML .= "";

 

$strXML .= "";

 

$strXML .= "";

 

$strXML .= "";

 

 

 

$strXML .= "";

 

$strXML .= "";

 

$strXML .= "";

 

$strXML .= "";

 

 

 

$strXML .= "";

 

$strXML .= "";

 

//Create the chart - Pie 3D Chart with data from $strXML

 

echo renderChart("Charts/Pie3D.swf", "", $strXML, "FleetMake", 1000, 400, false, false);

 

?>

 

========================================================================================

 

 

 

I hope you can help me with this ASAP, as my boss is using IE. (How i wish the switch to other browsers!)

 

 

 

 

 

Thanks in advance!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this