%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : ndkhermy ( 1200) PHP Version : 8.5.12 Disable Function : NONE Directory : /home1/ndkhermy/www/website_6ca89795/admin/ |
Upload File : |
<?php
include('../dbcon.php');
if (isset($_POST['submit'])) {
$customer_name = $_POST['customer_name'];
$content = $_POST['content'];
$id = $_POST['sid'];
$qry = "UPDATE `question` SET `customer_name` = '$customer_name', `content` = '$content' WHERE `id` = $id;";
$run = mysqli_query($conn, $qry);
if ($run == true) {
?>
<script>
alert('Data Update Successfully');
window.open('questionshow.php?sid=<?php echo $id;?>','_self');
</script>
<?php
}
}
?>