-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrack.php
68 lines (60 loc) · 1.11 KB
/
track.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
<?php
/* Tracking Tool - Version 1
*/
include('db.php');
if(isset($_POST['trackid'])) {
$trackid = $_POST['trackid'];
$query='SELECT * FROM `tracking` WHERE `trackid`='.$trackid.' LIMIT 0, 30';
$result=@mysql_query($query);
$view=mysql_fetch_assoc($result);
$tracking = $view['trackid'];
$name = $view['name'];
$email = $view['email'];
$phone = $view['phone'];
$material = $view['material'];
$location = $view['location'];
$status = $view['status'];
}
?>
<html>
<body>
<br /><br /><br />
<hr><hr>
<br />
<center><h1>Tracking Tool</h1> </center><br /><br />
<hr><hr>
<br /><center>
<table>
<tr>
<td>Track ID: </td>
<td><b><?php echo $tracking; ?></b></td>
</tr>
<tr>
<td>Name: </td>
<td><b><?php echo $name; ?></b></td>
</tr>
<tr>
<td>Email: </td>
<td><b><?php echo $email; ?></b></td>
</tr>
<tr>
<td>Phone No: </td>
<td><b><?php echo $phone; ?></b></td>
</tr>
<tr>
<td>Material: </td>
<td><b><?php echo $material; ?></b></td>
</tr>
<tr>
<td>Present Location: </td>
<td><b><?php echo $location; ?></b></td>
</tr>
<tr>
<td>Status: </td>
<td><b><?php echo $status; ?></b></td>
</tr>
</table><br />
<hr><hr>
<hr><hr>
</body>
</html>