Commit ccf3bf38 authored by Srinivas's avatar Srinivas
Browse files

Update sec.php

parent de67d282
<?php
session_start();
include('connection.php');
$connection = getdb();
if(isset($_SESSION['username'])){
echo "<script>location.href='security.php'</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'])){
......@@ -189,4 +190,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