I use Phonegap I want to change multiple lines on the same table using sqlite. i use this code, but not work.
for (var i = 0; i < id_input_type_cotation.length ; i++)
{
var sql ="UPDATE Selectionner SET QuotationParDefaut = '?' WHERE (IdPrestation = '3') and (IdPhrase = "+id_input_type_cotation[i]+") ; ";
params = [ id_input_type_cotation[i] ];
tx_commenter.executeSql(sql, params);
console.log("I= "+i);
}