title: sqlite3 php - not able to open db with any db browser
body: <p>I've created a new sqlite3 DB with some tables using PHP. I want to open this database file with a browser/editor like Sqlitebrowser or sqlite3 command line tool, but I either see no tables or get error "database disk image is malformed". The code creates a file, I can insert and select data, but only using PHP. I think the size of the file is proper.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>My PHP code:
  <code>
      $db = new SQLite3('myDB');
      $db->exec('CREATE TABLE <code>events</code> (
              <code>id</code> integer PRIMARY KEY AUTOINCREMENT,
              <code>name</code> TEXT,
              <code>day</code> TEXT,
              <code>time</code> TEXT);'
              );
      $db->close();
  </code> </p>
  
  <p>SQLite3:
  SQLite3 module version  0.7-dev
  SQLite Library  3.7.7.1</p>
  
  <p>PHP:
  PHP Version 5.3.27 on Linux</p>
  
  <p>I'm trying to read the file on Windows (newest <a href="http://sqlitebrowser.org/" rel="nofollow">http://sqlitebrowser.org/</a> and <a href="http://www.sqlite.org/cli.html" rel="nofollow">http://www.sqlite.org/cli.html</a>).</p>