Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Upload images Re: Upload images

#140416
austinnnnn
Participant

So i was working on this, and the images are uploaded, the many i select, they go for the folder. but only the path of one is stored on the bd. So what i want to do is like, everytime i insert a new place, that will contain several images, i want it to create a folder with the id of the place, and all the images will go into to the folder. so only the folder path will be stored in db, and when i list a place, i will get all the images of that place.

like:

images/place1 (but not place1, just the id of the place)
images/place2

This is what i got for now:

http://codepad.org/w8lKpJKt