JS array to Sqlite

Hello,
Here is my website:
https://codepen.io/lanszelot/pen/eYarmbN?editors=1010
This template shows how the website have to work.
How can I save to sqlite database the JS arrays?
Each JS array into different table, but same database.

I did it with php form post but after the first input the website reload itself.
I try to use cookies to mark where I would like to continue the form, but it didn't work perfect.

This is my hobby only, I am a beginner in sqlite and php.
Thanks,
Was this page helpful?