-
Notifications
You must be signed in to change notification settings - Fork 1
/
list_stud.php
76 lines (58 loc) · 1.98 KB
/
list_stud.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
75
76
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>list_cor.php</title>
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<script type="text/javascript" src="scripts/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="scripts/jquery.slidepanel.setup.js"></script>
<script type="text/javascript" src="scripts/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="scripts/jquery.tabs.setup.js"></script>
<style type="text/css">
<!--
A.ssmItems:link {color:black;text-decoration:none;}
A.ssmItems:hover {color:black;text-decoration:none;}
A.ssmItems:active {color:black;text-decoration:none;}
A.ssmItems:visited {color:black;text-decoration:none;}
//-->
</style>
<SCRIPT SRC="js/ssm.js" language="JavaScript1.2">
//Dynamic-FX slide in menu v6.5 (By maXimus, http://maximus.ravecore.com/)
//Updated July 8th, 03' for doctype bug
//For full source, and 100's more DHTML scripts, visit http://www.dynamicdrive.com
</SCRIPT>
</head>
<body>
<?php
include 'include/header.php';
include 'include/connect.php';
?>
<div id="c" style="padding-left:250px; padding-right:250px;">
<table border="2">
<tr>
<th>id</th>
<th>name </th>
<th>branch</th>
<th>college id</th>
<th>Project name</th>
</tr>
<?php
$q= "select * from spam_student";
$sql=mysql_query($q);
while($result=mysql_fetch_array($sql))
{
echo "<tr><td>".$result['id']."</td>";
echo "<td>".$result['name']."</td>";
echo "<td>".$result['branch']."</td>";
echo "<td>".$result['college_id']."</td>";
echo "<td>".$result['proj_name']."</td></tr>";
}
?>
</table>
</div>
<div id="copyright">
<p class="fl_left" align="center">Copyright © 2013 - All Rights Reserved - <a href="#">SPAM</a></p>
<br class="clear" />
</div>
</body>
</html>