From c9adecf9b086de5319120f3bee3ff7fa8c5c5d60 Mon Sep 17 00:00:00 2001 From: pawel Date: Fri, 17 May 2024 10:12:11 +0200 Subject: [PATCH] splot js + db --- js.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js.js b/js.js index 6f31706..c3cdc70 100644 --- a/js.js +++ b/js.js @@ -1,3 +1,11 @@ +const url = "http://localhost/15.05/get.php" + +fetch( url + 'get.php') + .then(response => response.json()) + .then( data => { + console.log(data) + }) + function sortujSufiksy() { const slowo = document.getElementById('slowo').value; const sufiksy = [];