-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudent-information.php
More file actions
104 lines (81 loc) · 3.68 KB
/
student-information.php
File metadata and controls
104 lines (81 loc) · 3.68 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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<div class="outter-wp">
<!--sub-heard-part-->
<div class="sub-heard-part">
<ol class="breadcrumb m-b-0">
<li><a href="index.html">Home</a></li>
<li class="active"><?php if(isset($_GET['ravi'])){ echo strtoupper($page=$_GET['ravi']); } ?></li>
</ol>
</div>
<!--//sub-heard-part-->
<div class="graph-visual tables-main">
<h2 class="inner-tittle"><?php echo strtoupper($_GET['ravi']); ?></h2>
<form method="post">
<select name="class_students_data" id="selector1" class="form-control1">
<option>Select Class</option>
<?php
$opt = $ravi->grade($grade);
while($op=$opt->fetch_assoc())
{
?>
<option value="<?php echo $op['class']; ?>"><?php echo $op['class']; ?></option>
<?php }?>
</select>
<input type="submit" name="students_info" class="btn red" value="View Class Data">
</form>
<?php
if(isset($_POST['students_info']))
{
$class_students_data = $_POST['class_students_data'];
$student_dis_admin= $ravi->student_info_display_admin($class_students_data);
$s_sn = 1;
?>
<div class="graph">
<div class="tables">
<table class="table table-bordered ">
<thead>
<tr>
<th>#</th>
<th>F.Name</th>
<th>Address</th>
<th>Adhar</th>
<th>U.Name</th>
<th>Pass</th>
<th>Father</th>
<th>Mother</th>
<th>DOB</th>
<th>Grade</th>
<th>Contact</th>
<th>Gender</th>
</tr>
</thead>
<tbody>
<?php
if($student_dis_admin->num_rows>0){
while($student_info_admin =$student_dis_admin->fetch_assoc()) { ?>
<tr>
<td><?php echo $s_sn; ?></td>
<td><?php echo $student_info_admin['st_fullname']; ?></td>
<td><?php echo $student_info_admin['st_address']; ?></td>
<td><?php echo $student_info_admin['st_adhar']; ?></td>
<td><?php echo $student_info_admin['st_username']; ?></td>
<td><?php echo $student_info_admin['st_password']; ?></td>
<td><?php echo $student_info_admin['st_father']; ?></td>
<td><?php echo $student_info_admin['st_mother']; ?></td>
<td><?php echo $student_info_admin['st_dob']; ?></td>
<td><?php echo $student_info_admin['st_grade'] ?></td>
<td><?php echo $student_info_admin['st_parents_contact']; ?></td>
<td><?php echo $student_info_admin['st_gender']; ?></td>
</tr>
<?php $s_sn++; }} else {
?>
<td colspan="12">No any Students information found
</td>
<?php
} } ?>
</tbody>
</table>
</div>
</div>
</div>
<!--//graph-visual-->
</div>