Commit 6940d4df authored by Srinivas's avatar Srinivas
Browse files

Update hp3.php

parent c91e5172
<?php
session_start();
include('connection.php');
$connection = getdb();
?>
<!DOCTYPE html>
<html lang="en-ca">
......@@ -272,8 +275,6 @@ if($_SESSION['username3']){
<center><h1>Warden Page</h1></center>
<?php
$x=$_GET['id'];
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
$query2= "SELECT * FROM user_login where username='$x' ";
$query2_run = mysqli_query($connection,$query2);
$row = mysqli_fetch_array($query2_run);
......
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