How to upload images into MySQL database using PHP code
Firstly, you should check if your image column is BLOB type! I don’t know anything about your SQL table, but if I’ll try to make my own as an example. We got fields id (int), image (blob) and image_name (varchar(64)). So the code should look like this (assume ID is always ‘1’ and let’s use … Read more