-
Notifications
You must be signed in to change notification settings - Fork 0
/
dbankdata.php
72 lines (71 loc) · 2.6 KB
/
dbankdata.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<html>
<title>Bank Account Data Form</title>
<link rel='stylesheet' href='style.css'>
<?php include 'header.php';
include "connect.php";
$result=mysql_query("SELECT * FROM user WHERE username=(SELECT username FROM local)") or die(mysql_error());
$row = mysql_fetch_array($result);
$result1=mysql_query("SELECT * FROM bdata WHERE username=(select username from local)") or die(mysql_error());
$row2 = mysql_fetch_array($result1);
$fname=$row['first_name'];
$mname=$row['middle_name'];
$lname=$row['last_name'];
$sex=$row['sex'];
$email=$row['email_id'];
$uid=$row['uid'];
?>
<marquee>Bank Account Data Form year 2016-17.</marquee>
<center><h2>BANK ACCOUNT DATA </h2></center>
<marquee>UID:<?php echo $uid ?></marquee>
<br/><br/>
<form action='dbverify.php' method='POST'>
<table width='30%'>
<tr>
<td><font size='5'>Full Name :</td>
<td><font size='5'><?php echo $fname;?>
</td>
<td><font size='5'><?php echo $mname;?>
</td>
<td><font size='5'><?php echo $lname;?>
</td>
</tr><br>
<tr>
<td> </td>
<td>First Name</td>
<td>Middle Name</td>
<td>Last Name</td>
</tr></table>
<table width='50%' height='50%'>
<p><tr>
<td><font size='5'>Occupation</td>
<td>:</td>
<td><input type='text' name='occupation' /required class="text5" value=<?php echo $row2['occupation']?>><font color='red'>*</font></td></tr>
<tr>
<td><font size='5'>Name of the Bank</td>
<td>:</td>
<td><input type='text' name='bname' /required class="text5" value=<?php echo $row2['bank_name']?>><font color='red'>*</font></td></tr>
<tr>
<td><font size='5'>Account Number</td>
<td>:</td>
<td><input type='text' name='baccount' pattern=[0-9]{11} /required class="text5" value=<?php echo $row2['acc_no']?>><font color='red'>*</font></td></tr>
<tr>
<td><font size='5'>Branch of the Bank</td>
<td>:</td>
<td><input type='text' name='bbranch' /required class="text5" value=<?php echo $row2['branch']?>><font color='red'>*</font></td></tr>
<tr>
<td><font size='5'>IFSC Number</td>
<td>:</td>
<td><input type='text' name='bifsc' pattern=[A-Z]{3}[0-9]{8} /required class="text5" value=<?php echo $row2['IFSC_no']?>><font color='red'>*</font></td></tr>
<tr>
<td><font size='5'>Account Held in the Name of</td>
<td>:</td>
<td><input type='text' name='bjoint' class="text5" value=<?php echo $row2['acc_in_name']?>></td></tr>
<tr>
<td><font size='5'>Bank Card Number</td>
<td>:</td>
<td><input type='text' name='bcard' pattern='[0-9]{10}' class="text5" value=<?php echo $row2['bank_card']?>>
</p></table>
<center><p><font color='red'>*</font><font color='blue'>: All the fields are compulsary.</font></p></center>
<br><center><p><input type='submit' value='Submit' class='button'></p></center>
</form>
</html>