How to store multiple images in a MySQL database and call them back whenever need? I need to store multiple data of people and their pictures for profile functioning on my website. Please help.
UPDATED QUESTION
P. S. - I KNOW THERE IS A SOLUTION TO STORE THE FILE ON THE FILESYSTEM. BUT I WANT TO KNOW THE PROCESS OF STORING IT ON DB. SO PLEASE HELP ME INSTEAD OF GIVING ABRUPT ANSWERS.
解决方案
I also will answer that is not a good idea to do so...
by the way you can do it using BLOB column type and in the upload function you have to insert it into the query as $_FILES['uploaded_file']['name']
as example:
INSERT INTO db_table (id, image) VALUES (NULL, '{$_FILES['userfile']['name']}');