Initial commit

This commit is contained in:
2026-05-13 23:25:30 +08:00
commit ef6961ba5a
105 changed files with 69505 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
//fetch.php
if(isset($_POST["id"]))
{
$connect = mysqli_connect("localhost", "root", "", "testing");
$query = "SELECT * FROM employee WHERE id = '".$_POST["id"]."'";
$result = mysqli_query($connect, $query);
while($row = mysqli_fetch_array($result))
{
$data["name"] = $row["name"];
$data["address"] = $row["address"];
$data["gender"] = $row["gender"];
$data["designation"] = $row["designation"];
$data["age"] = $row["age"];
}
echo json_encode($data);
}
?>