User profile after registration in SQLite

I am creating a web app to allow a user to login and see its own user details.

How can I setup that way, when a user fills out its details it automatically will stored in the SQLite database ?

Thank you.