You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
576 B
28 lines
576 B
<?php
|
|
error_reporting(0);
|
|
ob_start();
|
|
header('Content-Type: application/json');
|
|
header("Access-Control-Allow-Origin: *");
|
|
include 'functions_covid_19.php';
|
|
$title = "Index COVID-19";
|
|
|
|
$result_continent = index_covid_19_countriesAndTerritories();
|
|
|
|
//foreach($result_continent as $row1)
|
|
//{
|
|
|
|
// echo" Cases:".$row1['Cases']."---";
|
|
//echo" Deaths:".$row1['Deaths']."---";
|
|
//echo" Country:".$row1['countriesAndTerritories']."---";
|
|
//echo" Continent:".$row1['continentExp']."---";
|
|
//echo"<br>";
|
|
|
|
|
|
//}
|
|
|
|
echo json_encode($result_continent,JSON_PRETTY_PRINT);
|
|
|
|
|
|
|
|
|
|
?>
|