diff --git a/index.php b/index.php index 51a06f6..3e67ece 100644 --- a/index.php +++ b/index.php @@ -1 +1,86 @@ -PHP Test + + + + + Dashboard + + + + + + + + + +
+
+
+
+
+

Employees Details

+ Add New Employee +
+ 0){ + echo ''; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + while($row = mysqli_fetch_array($result)){ + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + } + echo ""; + echo "
#NameAddressSalaryAction
" . $row['id'] . "" . $row['name'] . "" . $row['address'] . "" . $row['salary'] . ""; + 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