diff -r 37f1a08315f3 -r 282e7d2bb28a www/getnodes.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www/getnodes.php Tue Aug 07 16:42:49 2018 +0200 @@ -0,0 +1,9 @@ +query("SELECT uuid,node,online,net_address FROM nodes"); +//Copy result into a associative array +$resultArray = $result->fetch_all(MYSQLI_ASSOC); +echo json_encode($resultArray);