Commit e381ad1e authored by PALVADI HEMA's avatar PALVADI HEMA
Browse files

list of approved students page

parent b0315c2e
.submit {
cursor: pointer;
border-radius: 5em;
color: #fff;
background: linear-gradient(to right, #9C27B0, #E040FB);
border: 0;
padding-left: 50px;
padding-right: 65px;
padding-bottom: 10px;
padding-top: 10px;
font-family: 'Ubuntu', sans-serif;
margin-left: 80%;
margin-right: 9%;
font-size: 13px;
box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.04);
b {
text-shadow: 0px 0px 3px rgba(117, 117, 117, 0.12);
color: #FFFFFF;
font-size: 13px;
text-decoration: none
table {
border-collapse: collapse;
width: 80%;
color: #588c7e;
font-family: monospace;
font-size: 25px;
text-align: left;
th {
background-color: #9C27B0;
color: white;
font-family: "Times New Roman", Times, serif;
tr:nth-child(even) {background-color: #f2f2f2}
<title>Do something</title>
<body bgcolor="#EEFDEF">
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
$query= "SELECT * FROM registrations where status='applied' ";
$query_run = mysqli_query($connection,$query);
?> <h2> <center> Students who have applied </center> </h2>
<p class="submit" align="center">
<?php echo '<a href="2.php">Logout</a>' ?></p>
echo "<table border='1' align='center'>
<th>Out time</th>
while($row = mysqli_fetch_array($query_run))
<td> <?php echo $row['ID'];?> </td>
<td> <?php echo $row['NAME'];?> </td>
<td> <?php echo $row['ROOM'];?> </td>
<td> <?php echo $row['PHONE'];?> </td>
<td> <?php echo $row['OUT_TIME'];?> </td>
<td> <a href="Newnew.php?id=<?php echo $row['ID']; ?>">Approve/Reject</a> </td>
echo "</table>";
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment