<?php
include("conn.php");
$select="select * from users where user_id='".$_SESSION['user_id']."'";
$query=mysqli_query($conn,$select);
$fetch=mysqli_fetch_array($query_main);
?>
<!doctype html>
<html>
<head>
<title>My Profile</title>
</head>
<body>
<h3>My Profile</h3>
Name: <?php echo $fetch['name']?><br />
Email: <?php echo $fetch['email']?><br />
Mobile: <?php echo $fetch['mobile']?><br />
</body>
</html>
Copyright ©2022 coderraj.com. All Rights Reserved.