Insert filename into database on upload
I posted this question in Universal Email as well. Anyway, I have a form with text and thumbnails. It works and a new record is inserted into my database. The thumbnails are also correctly uploaded. Problem is, I need a way to store the name of the uploaded file in the database as well, so I can display all thumbs associated with a particular record.
How do I pass the filename the user chooses to the corresponding variable in the recordset so I can store the filename? Do I need to create a hidden form element and somehow set it's value to the thumbnail name?