-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathviewregistration.php
62 lines (56 loc) · 1.52 KB
/
viewregistration.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
<?php
include("header.php");
include("sidebar.php");
include("dbconnection.php");
$result= mysql_query("select * from customer");
?>
<div id="main">
<a name="TemplateInfo"></a>
<h1>Registration</h1>
<?php
if($ctins == 1)
{
echo "<center><b>Employees account created successfully...</b></center><br>";
echo "<center><b><a href='emplogin.php'>Click here to Login.</a></b></center>";
}
else
{
?>
<form id="form1" name="form1" method="post" action="">
<table width="790" border="1">
<tr>
<th width="110" scope="col">Customer ID</th>
<th width="88" scope="col">First name</th>
<th width="88" scope="col">Last name</th>
<th width="133" scope="col">Email ID</th>
<th width="107" scope="col">Created date</th>
<th width="95" scope="col">Contact no1</th>
<th width="123" scope="col">Contact no2</th>
</tr>
<?php
while($arrrec= mysql_fetch_array($result))
{
echo" <tr>
<td> $arrrec[custid]</td>
<td> $arrrec[fname]</td>
<td> $arrrec[lname]</td>
<td> $arrrec[emailid]</td>
<td> $arrrec[createddate]</td>
<td> $arrrec[contactno1]</td>
<td> $arrrec[contactno2]</td>
</tr>";
}
?>
</table>
</form>
<?php
}
?>
<p> </p>
<br />
</div>
<!-- wrap ends here -->
</div>
<?php
include("footer.php");
?>