Ok, I have tried using the code from this link
unfortunately it doesn’t do as i would like. What i need is a way for a user to submit a form and it save the data into a uniquely id’d csv file. I know the code given is for text files, not csv, but that was about all i could find. If there is any help i would greatly appreciate it.