Commit c91e5172 authored by Srinivas's avatar Srinivas
Browse files

Update 2.php

parent d21adba1
<?php
session_start();
include('connection.php');
$connection = getdb();
if(isset($_SESSION['username3'])){
$username3=$_SESSION['username3'];
echo "<script>location.href='hp3.php?id=$username3'</script>";
}
else{
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
if(isset($_POST['search']))
{
if (isset($_POST['user_id']) and isset($_POST['user_pass'])){
......@@ -190,4 +191,4 @@ a {
</table></center></body>
</div>
</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