1<img src="/images/flowers.jpg" alt="A Flower Bouquet"/>
2<img src= "./flowers.jpg" alt="A Flower Bouquet"/>
3<img src="../otherImages/flowers.jpg" alt="A Flower Bouquet"/>
1|-> myhtmlfiles
2 |-> index.html
3|-> images
4 |-> my_image.jpg
5
6<img src="../images/my_image.jpg">
1 / = Root directory
2 . = This location
3 .. = Up a directory
4 ./ = Current directory
5 ../ = Parent of current directory
6 ../../ = Two directories backwards
1$conn = mysqli_connect("localhost", "root", "", "customer");
2 $image_details = mysqli_query($conn, "SELECT * FROM customer_table");
3 while ($row = mysqli_fetch_array($image_details)) {
4
5 echo "<img src='images/".$row['imagename']."' >";
6
7 }