-
Notifications
You must be signed in to change notification settings - Fork 0
/
schedual.php
49 lines (34 loc) · 1.35 KB
/
schedual.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
<?php
include 'header.php'
?>
<?php
include 'adminnavbar.php'
?>
<div class="main-content">
<table>
<tr>
<th lang="ar" dir="rtl">النوع</th>
<th lang="ar" dir="rtl">اسم المشروع</th>
<th lang="ar" dir="rtl">اسم الطلاب </th>
<th lang="ar" dir="rtl">رقم المجموعة</th>
</tr>
<tr>
<?php
// $sql1="select * from student join project on student.project_name=project.name; ";
// $sql="select * ,count(*) from select * from student join project on student.project_name=project.name group by project_name ";
$sql = "SELECT student.std_id,student.std_name,student.project_name,student.group_no,project.name,project.type FROM student,project WHERE student.project_name =project.name order by student.group_no";
$result = mysqli_query($conn, $sql);
while ($row = mysqli_fetch_assoc($result)) {
echo "<td >$row[type]</td>";
echo "<td>$row[project_name]</td>";
echo "<td>$row[std_name]</td>";
echo "<td>$row[group_no]</td>";
echo "</tr>";
}
?>
</tr>
<?php
include 'footer.php'
?>
</body>
</html>