-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathviewimage.php
52 lines (50 loc) · 1.32 KB
/
viewimage.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
<?php
session_start();
include("header.php");
include("connection.php");
$result = mysqli_query($con,"SELECT * FROM upload_data");
?>
<div id="main">
<div id="content" class="left">
<div class="highlight">
<h3>View image</h3>
<table width="581" border="1">
<tr>
<th width="98" height="51" scope="col">User_id</th>
<th width="127" scope="col">File Name</th>
<th width="139" scope="col">File Size</th>
<th width="189" scope="col">File Type</th>
</tr>
<?php
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
echo "<td> $row[user_id]</td>";
echo "<td> $row[file_name]</td>";
echo "<td> $row[file_size]</td>";
echo "<td> $row[fle_type]</td>";
echo "</tr>";
}
?>
</table>
<p> </p>
</div>
<div class="projects">
<div class="item"></div>
<div class="item">
<div class="cl"> </div>
</div>
</div>
</div>
<?php
include("sidebar.php");
?>
<div class="cl"> </div>
</div>
<div class="shadow-l"></div>
<div class="shadow-r"></div>
<div class="shadow-b"></div>
</div>
<?php
include("footer.php");
?>