-
Notifications
You must be signed in to change notification settings - Fork 0
/
landowner_guest.php
57 lines (47 loc) · 1.54 KB
/
landowner_guest.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
<?php
include_once "header.php";
include_once "connection.php";
if(!mysqli_connect_errno())
{
$land_owner_guard = mysqli_query($con, "SELECT * FROM land_owner_guard 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>
<table>
<table style="background-color: white;">
<thread >
<th style = "color: blue; background-color: orange; ">Sl #</th>
<th style = "color: blue; background-color: orange; ">ID</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; ">Address</th>
<th style = "color: blue; background-color: orange; "></th>
</thread>
<tbody style="color: red">
<?php
$sl_no=1;
foreach($land_owner_guard as $land_owner_guards)
{ ?>
<tr>
<<td style = "color: orange; background-color: blue; "><?php echo $sl_no;?></td>
<td><?php echo $land_owner_guards['id'];?></td>
<td><?php echo $land_owner_guards['first_name'].' '.$land_owner_guards['last_name'];?></td>
<td><?php echo $land_owner_guards['mobileno'];?></td>
<td><?php echo ' #F-'.$land_owner_guards['Flat_L'].', #H-'.$land_owner_guards['House_L'].', #R-'.$land_owner_guards['Road_L'].', #B-'.$land_owner_guards['block'];?></td>
</tr>
<?php
$sl_no++;
} ;?>
</tbody>
</table>
</p>
</p>
</div>
</div>
</body>
</html>
<?php
include_once "under.php";
?>