Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php blob to string


* use mysql query to get the blob data in a variable and then use this

'<img src="data:image/jpeg;base64,' . base64_encode($image) . '" width="200" height="200">'
 
PREVIOUS NEXT
Tagged: #php #blob #string
ADD COMMENT
Topic
Name
5+9 =