js/main.js
// save the question in a hidden table in the database

save the question in a hidden table in the database
save the question in a hidden table in the database
function saveQuestionInCache(Num, Question, Answer, Include) {
    Include = (typeof Include !== 'undefined') ? JSON.stringify(Include) : "{}"
    db.run('INSERT INTO `testsql_questions` VALUES(' + Num + ', "' + Question + '", "' + Answer + '", "' + Include + '")')
    saveDB(db)
}
function saveQuestionInCache ( Num , Question , Answer , Include ) { Include = ( typeof Include !== 'undefined' ) ? JSON . stringify ( Include ) : "{}" db . run ( 'INSERT INTO `testsql_questions` VALUES(' + Num + ', "' + Question + '", "' + Answer + '", "' + Include + '")' ) saveDB ( db ) }
save the question in a hidden table in the database
save the question in a hidden table in the database