You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$con = mysqli_connect('localhost', 'root', '') or die(mysqli_connect_errno());
mysqli_select_db($con, 'web');
$sql1 = "SELECT ROUND(AVG(`REQ_timings`)) AS MX, `REQ_isp` AS isp, HOUR(DATE_FORMAT(`REQ_startedDateTime`,'%Y-%c-%d %T')) AS h FROM requestdata GROUP BY isp,h
";
$sql2 = " SELECT DISTINCT(`REQ_isp`) AS isp FROM requestdata WHERE `REQ_isp` IS NOT NULL";
$apotelesmata1 = mysqli_query($con, $sql1);
$apotelesmata2 = mysqli_query($con, $sql2);
$json_array1 = array();
$json_array2 = array();
while ($row1 = mysqli_fetch_assoc($apotelesmata1)) {
$json_array1[] = $row1;
}
while ($row2 = mysqli_fetch_assoc($apotelesmata2)) {