I have written the same codes from your youtube video. Everythings are same like database, codes, image types etc. But the problem is:
When I am trying to echo image from database using base64_encode(), I can't see the image. I see huge randome texts on browser. Check it:
Here is my written codes:
But, If I echo the image variable instead of image tag, the image display on browser. But I can't see the correct url of the image.
So, please give us a solution.