Amazing! Your code worked! In order to make each record unique I should use an auto incrementing id and store it as a session as well as the username?
One more thing.
I can only display the images inside a query e.g.
I want to display them inside a table but this code doesn’t work :