-
Notifications
You must be signed in to change notification settings - Fork 0
/
report.php
61 lines (46 loc) · 1.47 KB
/
report.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
<?php
session_start();
error_reporting(1);
$con = mysql_connect("localhost","root","","panchayat_admin");
mysql_select_db("panchayat_admin",$con);
echo "<div align='right'>";
echo "</div>";
echo "<div align='center'>";
$que = mysql_query("select * from biodata");
echo "<body bgcolor = '#B2B8FF'>";
echo "<table bgcolor='#B2B8FF' width='700' cellspacing='1' cellpadding='1' border='0' height='80'>";
echo "<div align='center'>";
echo "<h4><u>Report Display</u> </h4>";
echo "</div>";
while($row= mysql_fetch_array($que))
{
echo "<tr>";
echo "<td align='center'><u>Full Name :</u></td>";
echo "<td colspan='1' align='center'>".$row['fullname']."</td>";
echo "</tr>";
echo "<tr><td align='center'>Email ID : </td>";
echo "<td align='center'>".$row['emailid']."</td></tr>";
echo "<tr><td align='center'> Gender :</td>";
echo "<td align='center'>".$row['gender']."</td></tr>";
echo "<tr><td align='center'> Contact No./ Telephone No : </td>";
echo "<td align='center'>".$row['telephone']."</td></tr>";
echo "<tr><td align='center'>Martial Status:</td>";
echo "<td align='center'>".$row['martial_status']."</td></tr>";
echo "<tr><td align='center'>Company / Organisation:</td>";
echo "<td align='center'>".$row['company']."</td>";
echo "</tr>";
}
echo "</table>";
echo "</div>";
echo "<br>";
?>
<html>
<body>
<style>
table {
border-collapse:collapse;
}
td {height:50px;vertical-align:top; width:40px;}
</style>
</body>
</html>