Hello, how to make a button for change image and upload image with database. Please help me
<!DOCTYPE html>
<html>
<head>
<div class="profile_info">
<img src="images/user_profile.png" >
<div>
<?php if (isset($_SESSION['user'])) : ?>
<div class="box-body no-padding">
<font size="6%" face="Comic Sans MS">
<strong><?php echo $_SESSION['user']['username']; ?></strong>
<i style="color: #00f7fc;">(<?php echo ucfirst($_SESSION['user']['user_type']); ?>)</i></div></font>
<br>
<small>
<a href="index.php?logout='1'"><button class="button">Logout</button></a>
</small>
<?php endif ?>
</div>
</div>
</div>
<body style="background-color:#fcc100;"></body>
<body>
<div class="content">
<!-- notification message -->
<?php if (isset($_SESSION['success'])) : ?>
<div class="error success" >
<h3>
<?php
echo $_SESSION['success'];
unset($_SESSION['success']);
?>
</h3>
</div>
<?php endif ?>
<!-- logged in user information -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
</body>
<head>
<style>
.button {
background-color: #555555;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
</style>
</head>
<body>
</html>