setbalance($_POST['accno'],$newbal); 22 //now update the account balance 23 if($w){ 24 header("location:depositdone.php?newbal=".$newbal.""); 25 }else{ 26 $errmsg = "Could not update the balance."; 27 } 28 } 29 }//submit 30 ?> 31 32 33 34 35 36 Untitled Document 37 38 39 47 48 49 50 51 52 53 54 55 56 57 87 88 89 90 91

MAMAS //UIS BANK INC

EditRegion4
58 59 60 61 62 63 64 65 66 67 68 73 74 75 76 77 78 79 80 84 85
Making a deposit:
Balance:currbalance($_GET['accno']); 69 echo $currbal; ?> 70 72
Amount to deposit:
86
92 93