From 2926ad96196d8af7fbad01fb8dce64a28cf35c01 Mon Sep 17 00:00:00 2001 From: szabomarton Date: Tue, 3 Dec 2024 11:17:19 +0100 Subject: [PATCH] added some database work --- SQL_Feladat_AdatB/index.js | 9 +++++++++ SQL_Feladat_AdatB/index.php | 22 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 SQL_Feladat_AdatB/index.js create mode 100644 SQL_Feladat_AdatB/index.php diff --git a/SQL_Feladat_AdatB/index.js b/SQL_Feladat_AdatB/index.js new file mode 100644 index 0000000..42ca203 --- /dev/null +++ b/SQL_Feladat_AdatB/index.js @@ -0,0 +1,9 @@ +let tableSelectionDomElement = document.getElementById("tabla"); +let selectedTable = "tagok"; + +tableSelectionDomElement.addEventListener("change", function (){ + selectedTable = tableSelectionDomElement.value; + + console.log(selectedTable); +}); + diff --git a/SQL_Feladat_AdatB/index.php b/SQL_Feladat_AdatB/index.php new file mode 100644 index 0000000..c507557 --- /dev/null +++ b/SQL_Feladat_AdatB/index.php @@ -0,0 +1,22 @@ + + + + + + Document + + +
+ + +
+
+ + + \ No newline at end of file