Example #1
0
}
body,html{
    width: 1000px;
    height: 700px;
}
</style>

</head>
<body style="margin:0; padding: 0; top:0px;">

<?php 
require_once 'database.class.php';
// Create database object
$db = new Database();
$db->getHighscore();
$db->getKietimages();
//print json_encode($db->kietimages);
$db->deleteLowHS();
?>
 

<script>

    var highscoresArray = <?php 
echo json_encode($db->highscores);
?>
;
    var kietimagesIn = <?php 
echo json_encode($db->kietimages);
?>
;