brown234 0 Report post Posted January 3 (edited) how to upload multiple image, preview image, add file path to database and display image Edited January 3 by brown234 Quote Share this post Link to post Share on other sites
Ingolme 939 Report post Posted January 3 You'd start off with multiple <input type="file"> elements, you'd have some PHP code which gets the files from the $_FILES array and saves them into specific directories. You would then have some code to write the paths of the saved files into the database along with any other information about the image. On other pages of your site, you would have some code that pulls image information from the database and prints <img> tags with the saved paths. Here are the tutorials you should read to accomplish these tasks. Form Handling File Uploading Database Tutorial (12 pages) All this assumes you know the basics: variables, loops, functions. If you don't know the basics, just read the whole PHP tutorial from start to end. Quote Share this post Link to post Share on other sites
brown234 0 Report post Posted January 3 thanks, question is after saving the images in my server, how do i display the individual image with database filepath in mind? Quote Share this post Link to post Share on other sites
justsomeguy 1,094 Report post Posted January 3 You just need to write out an img tag with the correct URL to the image. Quote Share this post Link to post Share on other sites