<?php 
session_start();
include 'dbc.php';
$userid=$_SESSION["userid"];
$adm_no=$_POST["adm_no"];
$mfee=$_POST["mfee"];
$bal=$_POST["bal"];
$feedisc1=$_POST["feedisc1"];
$feebal1=$_POST["feebal1"];
$feedisc2=$_POST["feedisc2"];
$feebal2=$_POST["feebal2"];
$feedisc3=$_POST["feedisc3"];
$feebal3=$_POST["feebal3"];
$feedisc4=$_POST["feedisc4"];
$feebal4=$_POST["feebal4"];
$feedisc5=$_POST["feedisc5"];
$feebal5=$_POST["feebal5"];
$feedisc6=$_POST["feedisc6"];
$feebal6=$_POST["feebal6"];
$consfee=$_POST["cfee"];

$sql = "update admission set 
mfee='$mfee', bal='$bal',feedisc1='$feedisc1', feebal1='$feebal1' ,feedisc2='$feedisc2', feebal2='$feebal2' ,feedisc3='$feedisc3', feebal3='$feebal3' ,feedisc4='$feedisc4', feebal4='$feebal4' ,feedisc5='$feedisc5', feebal5='$feebal5' ,feedisc6='$feedisc6', feebal6='$feebal6', consfee='$consfee' where adm_no='$adm_no' and user_id='$userid'";
$conn->query($sql);




header("location:Edit_Student_Registration.php");

?>
