<?
include '../connection.php';
$name = @$_POST["name"];
$father = @$_POST["father"];
$mobile = @$_POST["mobile"];
$email = @$_POST["email"];
$pincode = @$_POST["pincode"];
$state = @$_POST["state"];
$city = @$_POST["city"];
$dob = @$_POST["dob"];
$doa = @$_POST["doa"];
$status1 = @$_POST["status1"];
$slno = @$_POST["slno"];
$update = "update member set name='$name',birth='$dob',anniversy='$doa',email='$email',mobile='$mobile',father='$father',state='$state',pincode='$pincode',cardstatus='$status1' where id='$slno'";
$exc = $mysqli->query($update);
file_put_contents("upp.txt", $update);
echo "Member Update Succesfully";
//$exc = $mysqli->query($up);
//echo "Post Update";
?>
|