Uname : Linux V-ShopU01 4.18.0-348.20.1.el8_5.x86_64 #1 SMP Thu Mar 10 20:59:28 UTC 2022 x86_64
Server : Apache/2.4.37 (rocky) OpenSSL/1.1.1k
Whoami : apache
Safe Mode : OFF
DOCUMENT ROOT : /var/www/html/site_shopudiet
Disable Function :
Path : /var/www/html/site_shopudiet/admin/

Server IP : 65.20.74.164 Client IP : 3.133.116.126
Current File : /var/www/html/site_shopudiet/admin/postcode_update.php
<?php
include 'dbconnect.php';
	$post_code=$_POST['post_code'];
	$place=$_POST['place'];
	$id=$_REQUEST['id'];
	// echo $cat;
	// echo $id;
	
	

	$sql="update postcose set postcode='$post_code',place='$place' where id='$id' ";


if(mysqli_query($conn,$sql)){
		 // echo '<script type="text/javascript">alert("Added to cart");window.location.assign("home.php");</script>';
		 header('location:pincode_list.php');
	}
	else{
		echo"not updated".mysqli_error();
	}

	mysqli_close($conn);



?>