My current code is as follows:

myDB.transaction(
   function(transaction) {
       transaction.executeSql('CREATE TABLE IF NOT EXISTS newtb(Name text,img blob)');

        var executeQuery = "INSERT INTO newtb(Name,img) VALUES (?,?)";


        transaction.executeSql(executeQuery, ['abc','../img/img1.jpg']);

i dont know it is the right process or not using angularjs in cordova.if it is correct than how to display that image.

share|improve this question
1  
Please complete the code properly and tell us what exactly is your problem. – ravi shankar 17 hours ago
    
This doesn't appear to be the complete code sample either. – EJoshuaS 16 hours ago
    
i want to insert-image-path-into-sqlite-and-display-that-image-using-angularjs-in-cordova – abc 13 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.