diff --git a/index.php b/index.php index 556d44e..8fca379 100644 --- a/index.php +++ b/index.php @@ -14,5 +14,8 @@ dbVerbindungErzeugen()

Spinn mit!!!!

+ + + diff --git a/js/functions.js b/js/functions.js new file mode 100644 index 0000000..fe574ac --- /dev/null +++ b/js/functions.js @@ -0,0 +1,21 @@ + + + + +function start(){ + let url = "system/alleMarkerHolen.php"; + fetch(url) + .then((response) => { + return response.json(); + }) + .then((markerData) => { + console.log(markerData) + + + + }) + .catch(function(error) { + console.log('Error: ' + error.message); + }); + } + diff --git a/js/main.js b/js/main.js index e69de29..05ab333 100644 --- a/js/main.js +++ b/js/main.js @@ -0,0 +1 @@ +start(); \ No newline at end of file