corona textbox loop into database

前端 未结 1 955
不思量自难忘°
不思量自难忘° 2021-01-28 05:02

I am new to Corona and I have a set of 10 question and the input is in the range from 0-8. I have code it such that my numeric textbox will loop for i times (i = number of quest

相关标签:
1条回答
  • 2021-01-28 05:15

    You first need to ask yourself if you really need a SQL/SQLite database to store your data. I would say that 99% of the Corona apps would run as fine if you just store the data as a txt file (usually using JSON format).

    If you still want to use SQLite, just take a look at the documentation for you. It provides example on how to execute queries (in your case, INSERT)

    Link for Corona/Lua SQLite : https://docs.coronalabs.com/api/library/sqlite3/index.html

    0 讨论(0)
提交回复
热议问题