Save the image in the database as type BLOB
and Load the image file and read the file into a variable using file_get_contents() or similar
but best way is not to save image directly in Database rather save location or assign UUID to a image and save it to disk
so when u recall you can go and pick the image instead of regenerating image from pixels
Reputation Points: 22
Solved Threads: 9
Junior Poster in Training
Offline 83 posts
since Jun 2008