i know similar question have been asked here but my problem is that i have not seen the one that has an answer to my,i want users to upload multiple photos on one post,so my problem is do i have to add more rows to my database to store each file name and if so what if i have 10 rows and user wish to upload 11 photos what will happen,am just wondering how facebook made that possible
if(count($_FILES['uploads']['filesToUpload'])) {
foreach ($_FILES['uploads']['filesToUpload'] as $file) {
//do your upload stuff here
echo $file;
}
}
i can upload multiple photos and move to folder but how can i store all their names in my db