From 1e38404160291899eca244c98370e95ee9c803bc Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Thu, 4 Feb 2021 15:54:26 +0100 Subject: [PATCH] etwas weiter verfeinert --- test/onsen_ui/employee.php | 10 +++++----- test/onsen_ui/index.html | 12 +++++++++++- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/test/onsen_ui/employee.php b/test/onsen_ui/employee.php index d0fb8f3..16790aa 100644 --- a/test/onsen_ui/employee.php +++ b/test/onsen_ui/employee.php @@ -15,13 +15,13 @@ } $sql = "SELECT * FROM employee ORDER BY id"; $result = mysqli_query($con, $sql); - - echo ""; + + echo ""; echo "IdFirst nameLast nameFunctionAuthE-MailPhoneMobile"; - echo "" . PHP_EOL; + echo "" . PHP_EOL; while($row = mysqli_fetch_array($result)) { - echo ""; + echo ""; echo "" . $row['id'] . "" . PHP_EOL; echo "" . $row['first_name'] . "" . PHP_EOL; echo "" . $row['last_name'] . "" . PHP_EOL; @@ -30,7 +30,7 @@ echo "" . $row['email'] . "" . PHP_EOL; echo "" . $row['phone'] . "" . PHP_EOL; echo "" . $row['mobile'] . "" . PHP_EOL; - echo ""; + echo ""; } mysqli_close($con); diff --git a/test/onsen_ui/index.html b/test/onsen_ui/index.html index 96d6a25..f446845 100644 --- a/test/onsen_ui/index.html +++ b/test/onsen_ui/index.html @@ -27,6 +27,10 @@ xmlhttp.send(); } + function addEmployee() { + + } + @@ -34,11 +38,17 @@
Home
+
+ +
Hallo wach Click this Load data -
list of employees will be loaded here
+ + Employees +
list of employees will be loaded here
+
\ No newline at end of file