I want to make some forms which will be saved into a PhoneGap database (that one is declared in index.html). Note that the code I will be linking is not index.html, it is another one. I tried to make the values for these forms to be variables, and then use PhoneGaps javascript to populate the database with these variables.
I also want to know this: * If I build this app, will I be able to store this data and be able to restart my phone and it would still be there? Or will the data be lost if I do so? * Do I have to define a database on every HTML site or could I somehow make this data on this current HTML-file to be "INSERT" into the database declared in index.html?