how to store image link in db and keep image in folder ?

Can you help me with this?
how to store image link in db and keep image in folder ?

https://www.w3schools.com/php/php_file_upload.asp

Upload the file, and store the path of where you save it to. It really is that easy. The hardest part is the actual upload, which is why I linked to a good base script.

I will check thank you . I know how to upload to the folder, I just don’t know how to store file name in DB

Just a simple insert statement when the move_file is a success.

Sponsor our Newsletter | Privacy Policy | Terms of Service