Saving user input data

I’m developing an money app, I’m asking whats best for saving the users data input. Like if I’m entering that I spent 5$ on one day, whats the best way to save the users data? could it be saved on the app itself or a server? little confused about it, thanks!

This is probably a good application for an SQLite database which we support

How do I go about setting it up?

I would start here:http://docs.coronalabs.com/api/library/sqlite3/index.htmlThen google for corona SDK SQLite tutorial

Or you can save it to .json files.

http://omnigeek.robmiracle.com/2012/02/23/need-to-save-your-game-data-in-corona-sdk-check-out-this-little-bit-of-code/

Credit to rob miracle.

This is probably a good application for an SQLite database which we support

How do I go about setting it up?

I would start here:http://docs.coronalabs.com/api/library/sqlite3/index.htmlThen google for corona SDK SQLite tutorial

Or you can save it to .json files.

http://omnigeek.robmiracle.com/2012/02/23/need-to-save-your-game-data-in-corona-sdk-check-out-this-little-bit-of-code/

Credit to rob miracle.