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" />
-
Topics
-
0
-
MadManMarsBar ·
Posted in Build Logs0 -
IAmAndre ·
Posted in New Builds and Planning3 -
4
-
2
-
Playgb2 ·
Posted in Troubleshooting1 -
1
-
1
-
5
-
1
-
-
play_circle_filled
Latest From ShortCircuit:
The coolest looking monitor. Period. - ASUS ROG display at Computex (Sponsored)

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