I’m working on a phonegap application using cordova 1.9.
I have a syntax error on this statement:
db.executeSql('UPDATE Reminder SET Reminder.reminderName ="'+ reminder_name + '", Reminder.reminderDescription = "' + description +'", Reminder.cellId='+ 1 +', Reminder.timetableId ='+1+', Reminder.reminderDeadline ="' + deadline +'" WHERE Reminder.RminId = "'+reminderId+'" ');
SO, I’m wondering what am I doing wrong?
Could be an issue with your 1’s.
where you are entering a 1, you should either put this in a variable or leave the quotes out:
or