selecting longblobs in php
Go to solution
Solved by Brenz,
You can't just echo the blob and expect it to work. You need to wrap it in valid HTML as well. Try this:
<img src="data:image/jpeg;base64,<?php echo base64_encode($row['logo']) ?>" alt="My Image" />
-
Featured Topics
-
Topics
-
0
-
0
-
0
-
3
-
0
-
JFRStudent ·
Posted in Photography and Videography1 -
5
-
6
-
amir2927 ·
Posted in CPUs, Motherboards, and Memory7 -
0
-
-
play_circle_filled
Latest From Linus Tech Tips:
I Am Not Buying A Super Computer - WAN Show May 3, 2024
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now