-
Notifications
You must be signed in to change notification settings - Fork 0
/
bdverify.php
31 lines (27 loc) · 1.13 KB
/
bdverify.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<link rel='stylesheet' href='style.css'>
<?php
include 'header.php';
echo "<marquee>Verification Page for Bank Data year 2016-17.</marquee>";
session_start();
$occupation=$_POST['occupation'];
$bname=$_POST['bname'];
$baccount=$_POST['baccount'];
$bbranch=$_POST['bbranch'];
$bifsc=$_POST['bifsc'];
$bjoint=$_POST['bjoint'];
$bcard=$_POST['bcard'];
echo "<center>";
include "connect.php";
mysql_query("UPDATE bdata SET occupation='$occupation',bank_name='$bname',acc_no='$baccount',branch='$bbranch',IFSC_no='$bifsc',acc_in_name='$bjoint',bank_card='$bcard' WHERE username=(select username from local)") or die(mysql_error());
echo "<br/><br/><br/><br/><br/><br/><br/><br/>Created Successfully ......<br/><br/><br/><br/>";
echo "<table width='30%'>";
echo '<form action="bankdata.php">';
echo "<tr><td><input type='submit' value='Previous Page' class='button'></td>";
echo "</form>";
echo '<form action="medicaldata.php">';
echo "<td><input type='submit' value='Next Page' class='button'></td></tr>";
echo "</form></table>";
echo '<br/><br/><br/><form action="submit.php">';
echo "<input type='submit' value='Home Page' class='button'>";
echo "</form>";
?>