Commit 79cbd917 authored by Arthur's avatar Arthur
Browse files

modification controller questionnaire

parent 7d2cf648
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -6,8 +6,8 @@ var Questionnaire = {
return db.query('SELECT * from questionnaire', callback);
},
createquestionnaire: function (Questionnaire, callback) {
return db.query('Insert into questionnaire(id_societe, themes, questions, id_pointvente) values(?, ?, ?, ?)',
[Questionnaire.id_societe,Questionnaire.themes,Questionnaire.questions,Questionnaire.id_pointvente], callback);
return db.query('Insert into questionnaire(id_societe, themes, id_pointvente) values(?, ?, ?)',
[Questionnaire.id_societe,Questionnaire.themes,Questionnaire.id_pointvente], callback);
},
getquestionnaire: function(id,callback)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment