title: Create or open a database table in HTML5
body: <p>If I use the below code:  </p>
  
  <pre><code>var db = openDatabase("CurrADinfo", "1", "A list of QC Points.", 100000);
  db.transaction(function (tx) {
       tx.executeSql('CREATE TABLE foo (id , text)');
  });
  </code></pre>
  
  <p>It will create or open the database <code>CurrADinfo</code> if it exists. But the second line will always create a new table.</p>
  
  <p>I want to create a table once and next time when I try to create it should return a flag that it is found in the database. How can I do that?</p>