Commit a6bd0f24 authored by Srinivas's avatar Srinivas
Browse files

Update stu1.php

parent e1382ddf
<?php
session_start();
include('connection.php');
$connection = getdb();
?>
<!DOCTYPE html>
<html lang="en-ca">
......@@ -133,8 +136,6 @@ tr:nth-child(even) {background-color: #f2f2f2}
if($_SESSION['username4']){
?>
<?php
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
$query= "SELECT * FROM registrations";
$query_run = mysqli_query($connection,$query);
?> <h2> <center> Students Record </center> </h2>
......@@ -199,4 +200,4 @@ echo "<script>location.href='3.php'</script>";
?>
</body>
</html>
\ No newline at end of file
</html>
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