Commit 8cb3cb46 authored by Srinivas's avatar Srinivas
Browse files

Update 3.php

parent 08ad34fa
<?php <?php
session_start(); session_start();
$connection = getdb();
if(isset($_SESSION['username4'])){ if(isset($_SESSION['username4'])){
$username4=$_SESSION['username4']; $username4=$_SESSION['username4'];
echo "<script>location.href='manage2.php'</script>"; echo "<script>location.href='manage2.php'</script>";
} }
else{ else{
$connection = mysqli_connect("localhost","root","");
$db = mysqli_select_db($connection,'test');
if(isset($_POST['search'])) if(isset($_POST['search']))
{ {
if (isset($_POST['user_id']) and isset($_POST['user_pass'])){ if (isset($_POST['user_id']) and isset($_POST['user_pass'])){
...@@ -188,4 +189,4 @@ a { ...@@ -188,4 +189,4 @@ a {
</table></center></body> </table></center></body>
</div> </div>
</div> </div>
</html> </html>
\ No newline at end of file
Supports Markdown
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