Im trying to insert three strings stored in title, url and Desc into a database whose name is in MY_DATABASE_TABLE1. Im using the following, but it generates an SQLException..
myDB.execSQL("INSERT INTO " + MY_DATABASE_TABLE1 + " (title,url,description)" + " VALUES ("+title + "," + url + ","+Desc+ ");");
can some one plz tell me where i'm going wrong.. i also tried adding single quotes before n after the variable names. didnt work
Here's that code too..myDB.execSQL("INSERT INTO " + MY_DATABASE_TABLE1 + " (title,url,description)" + " VALUES ('"+title + "','" + url + "','"+Desc+ "');");
Plz help, thanks...

