![]() ![]() Var fso = new ActiveXObject('Scripting.FileSystemObject') Var csvFilePath = "Data.csv" // File nameĬsvData = document.getElementById('id_number').value ĬsvData = document.getElementById('first_name').value Var csvData = new Array() // To collect the names The Javascript is in the header of the html file and it is: I have tried both some php stuff and javascript, both of which seem to be good, but I am not very experienced in either. I am trying to create a form that a user can enter data into and then when they click submit, that data will be added as a new row to a csv file stored on the server which I can then download.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |