how to add image in html from a folder
snippet in html

how to add image in html from a folder

user8201

|-> myhtmlfiles
      |-> index.html
|-> images
      |-> my_image.jpg

<img src="../images/my_image.jpg">

how to add image in html from a folder

user9215

$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']."' >";   
      
    }