Paul help!;11062319 wrote:So are you saying I would have to store the file names in 'phpMyadmin', and fetch them and loop through them whenever the page is loaded?
I was not discussing how to store/retrieve the data, just a way that PHP can work in conjunction with Bootstrap -- which I thought was the question? If the content is going to be dynamic based on what users upload, then you'll need to store the relevant data somewhere in a way you can retrieve them as/when needed. A database would seem to be a solid choice for that sort of thing, but it could also be done via the file system -- but that would not scale as well as a DB.
A typical approach would be that, upon successful upload, you store the file in a chosen directory with a unique file name; and then you record that file name in a database record along with relevant information, such as user ID, title, description, date uploaded, or whatever else you are interested in. Then you can query the DB on a page load, perhaps in this example based on the user ID in order to display only that user's images. In that case your loop would be iterating on a database result fetch.