Using SQLite as the database of a project, and as some unexpected issues, need to draw the data from the SQLite for showing at the webpage.