From 89a894432eb7996681086dc5f613e0759c748656 Mon Sep 17 00:00:00 2001 From: ssocha Date: Thu, 10 Oct 2024 12:05:20 +0000 Subject: [PATCH] post --- p10/post.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 p10/post.php diff --git a/p10/post.php b/p10/post.php new file mode 100644 index 0000000..487c59d --- /dev/null +++ b/p10/post.php @@ -0,0 +1,24 @@ + 'success'); +} else { + $response = array('status' => 'error', 'message' => mysqli_error($con)); // Provide error details +} + +echo json_encode($response); + +$con->close(); + + + +