I can’t get file name and save to database

Asked

Viewed 49 times

0

I’ll be more specific, I have the system that works as follows, it scans a folder and takes all the txt files from the folder and shows me in link form, when clicking on the link it shows me what is inside the txt files. great, works blz, however, now in the html code I have a form that should register in the database the name of the txt file and a note about it, then that ta picking up, I can not take the name of the file and write in the database its name and an observation about it.

Download the file for understanding

  • arr[i].nomeArquivo no longer has the file name ? What exactly can’t you do? I don’t see anything about the database here

  • Now I need to take this information (file name) and along with it a textarea to comment on the file and play for the database

  • And where is the code to do that ? I see javascript and html tags, but that would be php. Do you already have the code that links to the database ? If yes edit the question and add this code

  • Can put more information in the code?

  • I’ll edit the code to understand

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.