Hello everyone, I need help with two things.
Considering a data.txt file in which the data sent by a form are transcribed, line by line, with name and date of transmission.
Example:
Name1; xxxxxxxxxxxxxxxxxxx; 02/23/2019
Name2; xxxxxxxxxxxxxxxxxxx; 03/30/2019
I need a code that deletes each line one year after the date stamped on it.
Furthermore, I would need a form, for users, through which they can autonomously delete the line corresponding to their name when they wish.
Can it be done?
Since I am not an expert, I would be so grateful if you would like to be detailed and exhaustive in any explanations. Thanks a lot
(I don’t know how to post the code I’m using)