-
Notifications
You must be signed in to change notification settings - Fork 0
/
land_ownerguest.php
100 lines (89 loc) · 2.94 KB
/
land_ownerguest.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?php
include_once "header.php";
include_once "connection.php";
if(!mysqli_connect_errno())
{
$land_owner_list = mysqli_query($con, "SELECT first_name,last_name,mobileno,Flat_L,House_L,Road_L,block FROM land_owner_list ORDER BY id ASC");
mysqli_close($con);
}
?>
<h2>The padding Property</h2>
<p>This property adds space between the border and the content in a table.</p>
<div id="main-content" class="clearfix">
<div class="left">
<br />
<p>
<form name="land" method="post" action="searchland.php">
<strong>Land:</strong>
<strong></strong>
<input type="text" name= "Flat_L" placeholder="Flat" style="width:70px; padding:5px;" />
<strong></strong>
<input type="text" name= "House_L" placeholder="House" style="width:70px; padding:5px;" />
<strong></strong>
<input type="text" name= "Road_L" placeholder="Road" style="width:70px; padding:5px;" />
<strong></strong>
<select name="block" style="width:50px; padding:3px; border-radius: 8px;">
<option value="A" selected>A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
<option value="E">E</option>
<option value="F">F</option>
<option value="G">G</option>
<option value="H">H</option>
<option value="I">I</option>
<option value="J">J</option>
<option value="K">K</option>
<option value="L">L</option>
<option value="M">M</option>
<option value="N">N</option>
<option value="O">O</option>
<option value="P">P</option>
<option value="Q">Q</option>
<option value="R">R</option>
<option value="S">S</option>
<option value="T">T</option>
<option value="U">U</option>
<option value="V">V</option>
<option value="W">W</option>
<option value="X">X</option>
<option value="Y">Y</option>
<option value="Z">Z</option>
</select>
<input type="submit" name="submit" value="Go" style="width:40px; padding:3px; border-radius: 40px;" />
</form>
</p>
<table>
<table style="background-color: white;">
<thread >
<th style = "color: blue; background-color: orange; ">Sl #</th>
<th style = "color: blue; background-color: orange; ">Name</th>
<th style = "color: blue; background-color: orange; ">Mobile Number</th>
<th style = "color: blue; background-color: orange; ">Present Address at BHL</th>
<th style = "color: blue; background-color: orange; "></th>
</thread>
<tbody style="color: red">
<?php
$sl_no=1;
foreach($land_owner_list as $land_owner_lists)
{ ?>
<tr>
<td style = "color: orange; background-color: blue; "><?php echo $sl_no;?></td>
<td><?php echo $land_owner_lists['first_name'].' '.$land_owner_lists['last_name'];?></td>
<td><?php echo $land_owner_lists['mobileno'];?></td>
<td><?php echo ' #F-'.$land_owner_lists['Flat_L'].', #H-'.$land_owner_lists['House_L'].', #R-'.$land_owner_lists['Road_L'].', #B-'.$land_owner_lists['block'];?></td>
</tr>
<?php
$sl_no++;
} ;?>
</tbody>
</table>
</p>
</p>
</div>
</div>
</body>
</html>
<?php
include_once "under.php";
?>