how to add image in html from a folder
|-> myhtmlfiles
|-> index.html
|-> images
|-> my_image.jpg
<img src="../images/my_image.jpg">
how to add image in html from a folder
|-> myhtmlfiles
|-> index.html
|-> images
|-> my_image.jpg
<img src="../images/my_image.jpg">
path in html
/ = Root directory
. = This location
.. = Up a directory
./ = Current directory
../ = Parent of current directory
../../ = Two directories backwards
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']."' >";
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us