diff --git a/connection.php b/connection.php index 195befb..6abd5f8 100644 --- a/connection.php +++ b/connection.php @@ -27,6 +27,8 @@ session_start();
+ +
diff --git a/js/connection.js b/js/connection.js index ec66f7b..ddcf4cc 100644 --- a/js/connection.js +++ b/js/connection.js @@ -27,4 +27,9 @@ function connection(){ .catch(error => { console.error('Error:', error); }); -} \ No newline at end of file +} + + +document.getElementById("submit-input").addEventListener("submit",(e)=>{ + connection(); +}); \ No newline at end of file