store file in sql

33 Comments

How to upload image to database using PHP/MySQL

Here is the simple code to upload files to a particular folder also this will make an entry in database. For example if you are making user registration, this code can be used to store user photo. Use the same user table to store user image. In this code we have used “file_tbl” table to […]