"; $strXML .=""; $strQuery = "select * FROM trending where trending.id mod 5 = 0 GROUP BY DATE DESC LIMIT 100"; $result = mysql_query($strQuery) or die(mysql_error()); if ($result) { while($ors = mysql_fetch_array($result)) { $strXML .= ""; } } $result2 = mysql_query($strQuery) or die(mysql_error()); $strXML .=""; if ($result2) { while($ors1 = mysql_fetch_array($result2)) { $strXML .= ""; } } mysql_close($link); $strXML .= ""; echo renderChart("../../FusionCharts/MSLine.swf", "imbflow", $strXML, "", '100%', 500, false, true); ?>