--- a/www/getwatersources.php Mon Feb 25 22:53:41 2019 +0100 +++ b/www/getwatersources.php Tue Feb 26 16:18:16 2019 +0100 @@ -24,4 +24,5 @@ 'cost' => $row['cost'] ); } +header("Content-type: application/json"); echo json_encode($waters);