July 9, 201115 yr Hi I have already posted a similar question but I thought I'd post what I have managed so far. With the help of a few book I have managed to creat a php file uploading script that will upload images on to my server. But I can not find how to upload multiple file (I can only upload one at atime) also how to save the image path into a table in my mysql database. I have attachet the php file see below I need help thanks file_upload_ns.php Upload_ns.php Edited July 9, 201115 yr by Rhodri
July 9, 201115 yr Not sure why you couldn't have just posted this in your original thread as a second post, but anyway To upload multiple files at once, you need multiple upload fields, all with unique name values. To allow yourself to add/remove boxes you will need to use javascript As for the paths into the mysql database, you can move the files with move_uploaded_file, so you can then set the file wherever you want, and add that filename to the database
Create an account or sign in to comment