diff --git a/about.php b/about.php index 58b80c5..4eab2e9 100755 --- a/about.php +++ b/about.php @@ -73,7 +73,7 @@
- - - - - @@ -417,10 +433,11 @@ "; - // Combine key and value for birth date into a formatted string $birthDate = "{$data[$id]['birth_day']}.{$data[$id]['birth_month']}.{$data[$id]['birth_year']}."; echo "{$data[$id]['name']}"; @@ -428,13 +445,12 @@ echo "{$data[$id]['email']}"; echo "$birthDate"; echo ""; - } else { - echo "No data found for ID $id"; } } ?> + diff --git a/php/update-user.php b/php/update-user.php new file mode 100644 index 0000000..3da8edd --- /dev/null +++ b/php/update-user.php @@ -0,0 +1,46 @@ + + alert("You have successfully edit the user!"); + window.location.href = "../admin_panel.php"; + '; + } else { + echo "Error updating user information: " . mysqli_error($con); + } +} +?> diff --git a/services.php b/services.php index b76689b..4c6f91e 100755 --- a/services.php +++ b/services.php @@ -95,20 +95,36 @@ -