<?php include("auth.php");?>
<?php include("header.php");?>


<?php 
               error_reporting(~E_NOTICE);
include("dbcon.php");
 $sql="SELECT * FROM user WHERE email='".$_SESSION['email']."'";
                 $result = mysqli_query($db,$sql);
                while ($row = mysqli_fetch_array($result)) 
{
 
    ?>

<div class="content-body">
            <!-- row -->
           
			<div class="container-fluid">
            <h3>My Profile</h3>
              <label>Firstname</label>
            <input type="text" value="<?php echo $row["firstname"];?>" class="form-control" style="width:300px;" disabled>
            <label>Lastname</label>
            <input type="text" value ="<?php echo $row["lastname"];?>"class="form-control" style="width:300px;" disabled>
            <label>Email</label>
            <input type="text" value="<?php echo $row["email"];?>" class="form-control" style="width:300px;" disabled>
                

</div>

</div>
<?php
}
?>

<?php include("footer.php");?>