php - How to Decode image data (sqlite) to show in HTML -
i have image data stored in sqlite database. data this:
€tâm89504e470d0a1a0a0000000d494844520000012
how show data in html php?
looks base64 encoding.
if have php script can access database, use following php snippet:
echo "<img src='data:image/png;base64,".$base64_data."' />
Comments
Post a Comment