Answers for "use an image within a folder in html"

2

html add image from folder

<img src="/images/flowers.jpg" alt="A Flower Bouquet"/>
<img src= "./flowers.jpg" alt="A Flower Bouquet"/>
<img src="../otherImages/flowers.jpg" alt="A Flower Bouquet"/>
Posted by: Guest on May-31-2021
1

how to add image in html from a folder

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

<img src="../images/my_image.jpg">
Posted by: Guest on May-21-2020
-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']."' >";   
      
    }
Posted by: Guest on July-07-2020

Code answers related to "use an image within a folder in html"

Browse Popular Code Answers by Language