adding an image from your computer in html code example
Example 1: how to add an image to my web page from my computer
<img src=”sun.jpg” alt=”Sun”></img>
Example 2: how to add image in html from a folder
$conn = mysqli_connect("localhost", "root", "", "customer");
$image_details = mysqli_query($conn, "SELECT * FROM customer_table");
while ($row = mysqli_fetch_array($image_details)) {
echo "<img src='images/".$row['imagename']."' >";
}