Commit e8558a57 authored by Srinivas's avatar Srinivas
Browse files

Update hp5.php

parent b3ea0686
<?php
session_start();
include('connection.php');
$connection = getdb();
?>
<!DOCTYPE html>
<html lang="en-ca">
......@@ -420,8 +423,6 @@ window.onload = function(){
</ul>
</form>
<?php
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
$x=$_GET['id'];
$query2= "SELECT * FROM user_login where username='$x' ";
$query2_run = mysqli_query($connection,$query2);
......@@ -603,4 +604,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