The sqlighter package provides convenient wrappers that safely open and close the connection to the SQLite database before and after sending queries and receiving results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.