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 : 18.222.111.44
Current Path : /var/www/html/mum/src/ |
| Current File : /var/www/html/mum/src/update_query.php |
<?php
include ("database.php");
error_reporting(E_ALL);
ini_set('display_errors', 'on');
$query = trim($_POST['val']);
var_dump($query);
die();
//$result = mysqli_query($conn,$query);
if($result)
{
$arr["status"] = 'success';
echo json_encode($arr);
}
else
{
$arr["status"] = 'error';
echo json_encode($arr);
}
?>
|