But i want the images to be stored in a folder, not in the database. Like images/$id
So when i enter a new data, it will create a folder with the id of the data i insert on the database, and upload the images to there. Other thing i want is to upload several images, so i upload one, and when that field already have a image, it will display another field so i can upload more.
Then when i display them, i want to display like a thumbnail for the first image i insert, and then when i click, the image will be displayed in real size, and i can click and nagivate to the others, like a galery. So i think the best is to resize the images to 800×600 and create a thumbnail to the 1st one i guess.
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.
images/place1 (but not place1, just the id of the place)