Here is my current plan:
- HTML button calls jQuery function
- Function loads PHP script
- PHP script executes shell script
- shell script calls SQLite
- SQLite runs SQL script that creates CSV
- Webpage reads CSV
Is there a simpler method? I tried sql.js but it seems to have some issues with csv files.