Open
Description
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript" src="jsontohtml.js"></script>
</head>
<body>
<div>
<?php
// echo $jsonResult;
error_reporting(E_ALL);
ini_set("display_errors", 1);
include 'include/weather_data.php';
include 'include/getJson.php';
$jsonValue = new getjson();
$table = 'WEATHER_SIMPLE_FORECAST';
$jsonResult = $jsonValue->getJsonData($table);
print_r($jsonResult);
?>
<script type="text/javascript">
var jsonHtmlTable = ConvertJsonToTable(eval([$jsonResult]), 'jsonTable', null, 'Download');
document.write(jsonHtmlTable);
</script>
</div>
</body>
</html>
Could you please tell me why is it not displaying anything?
Thanks
Metadata
Metadata
Assignees
Labels
No labels