Hi,

I need help when receive a message error *"could not prepare statement no
such table..." * when try
execute "*select*"  in the code:


   * var db = window.openDatabase("Biblia","","Database",100000);
    var tx;
    var sql = "select nome from LivroDaBiblia;";
$(document).ready(function() {
        db.transaction(
            function(tx, myArray) {
                tx.executeSql("SELECT nome FROM LivroDaBiblia", [],
                function(tx, result) {
                  for (i = 0; i < result.rows.length; i++) {
                      var nome = result.rows.item(i)['nome'];
                      //$('<li>X' + name + 'Y</li>').appendTO($('#LV1'));
                     // $('#LV1').append("<li><a
href='#page4'>123</a></li>");
                         $('#LV1').append("<li>123</li>");
                      }
                    }, errorHandler);
                }
            );
            function errorHandler(transaction, error) {
                    alert('Oops. Error was '+error.message+' (Code
'+error.code+')');
                  return false;
            };*
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to