From d034e96f7e52dd1449356834313d9c563710b326 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Runden?=
Date: Mon, 2 Jan 2023 18:12:32 +0100
Subject: [PATCH] employees test
---
index.php | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 86 insertions(+), 1 deletion(-)
diff --git a/index.php b/index.php
index 51a06f6..3e67ece 100644
--- a/index.php
+++ b/index.php
@@ -1 +1,86 @@
-
PHP Test
+
+
+
+
+ Dashboard
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0){
+ echo '
';
+ echo "";
+ echo "";
+ echo "| # | ";
+ echo "Name | ";
+ echo "Address | ";
+ echo "Salary | ";
+ echo "Action | ";
+ echo "
";
+ echo "";
+ echo "";
+ while($row = mysqli_fetch_array($result)){
+ echo "";
+ echo "| " . $row['id'] . " | ";
+ echo "" . $row['name'] . " | ";
+ echo "" . $row['address'] . " | ";
+ echo "" . $row['salary'] . " | ";
+ echo "";
+ echo '';
+ echo '';
+ echo '';
+ echo " | ";
+ echo "
";
+ }
+ echo "";
+ echo "
";
+ // Free result set
+ mysqli_free_result($result);
+ } else{
+ echo '
No records were found.
';
+ }
+ } else{
+ echo "Oops! Something went wrong. Please try again later.";
+ }
+
+ // Close connection
+ mysqli_close($link);
+ ?>
+
+
+
+
+
+
\ No newline at end of file