This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathept_search.php
74 lines (40 loc) · 1.88 KB
/
ept_search.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
<?php
include 'header.php';
include 'connect.php';
$EPT_Date_Day = $_POST['EPT_Date_Day'];
$EPT_Date_Month = $_POST['EPT_Date_Month'];
$EPT_Date_Year = $_POST['EPT_Date_Year'];
?>
<!-- formee-->
<div class="container">
<div class="box-add">
<form class="formee" action="edit_record.php" enctype="multipart/form-data" method="post">
<div class="box-sec">
<?
$results = mysql_query("select * from entry where EPT_Date_Day = '". $EPT_Date_Day ."' and EPT_Date_Month = '". $EPT_Date_Month ."' and EPT_Date_Year = '". $EPT_Date_Year ."'");
echo '<table class="table"><thead class="table-head"><tr><th>First Name</th><th>C#</th><th>Gender</th><th>Category</th><th>Status</th><th>View</th></tr></thead>';
while($row = mysql_fetch_array($results)){
echo "<tbody class='table-body'><tr><td>" . $row['First_Name'] . "</td><td>" . $row['Cnum'] . "</td><td>" . $row['Gender'] . "</td><td>" . $row['Category'] . "</td><td>" . $row['Status'] . "</td><td><a href='view.php?id=" . $row['id'] . "'>view</a></td></tr></tbody>";
}
echo "</table>";
?>
</div>
</form>
</div>
</div>
<!-- formee-->
<!-- Load JS here for greater good =============================-->
<script src="js/jquery-1.8.3.min.js"></script>
<script src="js/jquery-ui-1.10.3.custom.min.js"></script>
<script src="js/jquery.ui.touch-punch.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-select.js"></script>
<script src="js/bootstrap-switch.js"></script>
<script src="js/flatui-checkbox.js"></script>
<script src="js/flatui-radio.js"></script>
<script src="js/jquery.tagsinput.js"></script>
<script src="js/jquery.placeholder.js"></script>
<script src="js/jquery.stacktable.js"></script>
<script src="js/application.js"></script>
</body>
</html>