I want to save an image to the database using SQLite. I send the image via <input type='file'> in HTML, get the file in the $_FILES var in PHP, and after this, what I should do?
I created a BLOB field in the database. Currently I'm using SQLite 2.1, because that is the limitation of my homework.
Should I convert an image to binary to store in a database or do something else?