"; $strXML .=""; $strQuery = "select * FROM trending where trending.id mod 30 = 0 GROUP BY DATE DESC LIMIT 96"; $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 .= ""; } } $result3 = mysql_query($strQuery) or die(mysql_error()); $strXML .=""; if ($result3) { while($ors2 = mysql_fetch_array($result3)) { $strXML .= ""; } } mysql_close($link); $strXML .= ""; echo renderChart("realtimeline", "BoilerRealtime", $strXML, "", '100%', '500', false, true); ?>