Commit 114d5a4f authored by Srinivas's avatar Srinivas
Browse files

Update du22.php

parent 7e52e1f6
<?php
session_start();
include('connection.php');
$connection = getdb();
?>
<!DOCTYPE html>
<html lang="en-ca">
......@@ -441,9 +444,7 @@ window.onload = function(){
<button class="openbtn" onclick="openNav()"></button>
<br><center><h1>Profile</h1></center>
<?php
$x=$_GET['id'];
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
$x=$_GET['id'];;
$query= "SELECT * FROM user_login where username='$x' ";
$query_run = mysqli_query($connection,$query);
?>
......@@ -540,4 +541,4 @@ echo "<script>location.href='2.php'</script>";
?>
</body>
</div>
</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