title: html5 database passing variable in LIKE statement
body: <p>I want to pass variable in html5 database for search.
  Bellow is the example of what I want:</p>
  
  <pre><code>var sear= "Hello World"   // for example 
  var test = sear.split(" ");
  var test3 = "\"%"+ test.join('%\", \"%')+"%\"";
  
  var test4 = [];  
  
  for (var i=2; i&lt;=test.length; i++) {  
      test4[i] = " OR (D_Indications LIKE ?)";  
  } 
  var test5="SELECT * FROM DEMO WHERE (D_Indications LIKE ?)"+ test4.join(" ");
  </code></pre>
  
  <p>now I want it to search the database by "Hello OR World" the code for it is.</p>
  
  <pre><code>tx.executeSql(test5, [test3],function (tx, results) {
      // display from database
  });
  </code></pre>
  
  <p>but it is not searching when I pass variable into it rather it finds when I put <code>tx.executeSql(test5, ["%Hello%", "%World%"]</code></p>