I am trying to display an image coming from the database and I was not able to display the image .but its showing like this user-1.jpg
Please see my code can on
If you want to show images from database then first you have to insert the images in database then you can show that image on page. Follow the below code to show or display or fetch the image.
Here I am showing image and name from database.
Note: I am only storing the path of image in database but actual image i am storing in photo folder.
PHP Complete Code with design: show-code.php
Show Image in PHP - Campuslife
Showing Images from database