I'm trying to insert values into my sqlite database in iphone application, but with no success:
insertSQL = [NSString stringWithFormat: @"INSERT INTO eventslist (date, title, description) VALUES ('%@', '%@', '%@')", dateString, title, descr];
const char *insert_stmt = [insertSQL UTF8String];
sqlite3_prepare_v2(eventsDB, insert_stmt, -1, &statement, NULL);
My descr
variable contains piece of text with special characters, new line characters etc. I assume that is a reason. How can I solve that?