I am trying to create an onClick method where upon pressed state application would save data in csv to specific folder on public directory. After every click, the application would append the data to that single file which was created the first time. When I run the application, the folder is created and also is the "happy_log.csv, however when i further press the save button it does not add extra line with new data. So far my code looks like this:
assistance on this matter would be much appreciated.
posted 2 years ago
What happens when the code is run a second time? Which lines of code are or are not being executed? With what results?
Oh. Hi guys! Look at this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user