-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmy-notes.php
More file actions
52 lines (45 loc) · 1.34 KB
/
Copy pathmy-notes.php
File metadata and controls
52 lines (45 loc) · 1.34 KB
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
<?php include 'header.php';
include 'connect.php' ?>
<div class="video-menu" style="height: 70px;">
<ul>
<a href="teacher_dashboard.php"><li> Classes
</li></a>
<a href="my_upload.php"><li>
My Uploads
</li></a>
<a href="my-notes.php"><li style="background: #555";>
Add Notes
</li></a>
<a href="add_topic.php"><li>
Add Topic
</li></a>
</ul>
</div>
<div class="dashboard">
<center>
<h2>Programming With c++</h2>
<?php
$micro = "select * from chapter where cat =1";
$result_micro = $conn->query($micro);
while ($row_micro = $result_micro->fetch_assoc()) {
?>
<a href="note.php"><div style="background: url(images/micro.jpg); color: #555;" class="chapter"><?php echo $row_micro['name']; ?></div></a>
<?php
}?>
</center>
<div class="clearfix"> </div>
</div>
<div class="dashboard">
<center>
<h2>Scripting Language PHP</h2>
<?php
$micro = "select * from chapter where cat = 2";
$result_micro = $conn->query($micro);
while ($row_micro = $result_micro->fetch_assoc()) {
?>
<a href="note.php"><div style="background: #015ba1;" class="chapter"><?php echo $row_micro['name']; ?></div></a>
<?php
}?>
</center>
</div>
<?php include 'footer.php' ?>