title: Connect to localhost sqlite db with php
body: <p>I have UwAmp installed and running. I have set up a mysqlite db on the localhost and I'm trying to connect to it using the following PHP code:</p>
  
  <pre><code>&lt;?php
      try
  {
      /*** connect to SQLite database ***/
      $dbh = new PDO("sqlite:graspe.sqlite");
      echo "Handle has been created ...... &lt;br&gt;&lt;br&gt;";
  
  }
  catch(PDOException $e)
  {
      echo $e-&gt;getMessage();
      echo "&lt;br&gt;&lt;br&gt;Database -- NOT -- loaded successfully .. ";
      die( "&lt;br&gt;&lt;br&gt;Query Closed !!! $error");
  }
  echo "Database loaded successfully ....";
  ?&gt;
  </code></pre>
  
  <p>The db is called graspe and when I run this script it says that it has connected successfully. If I change the name of the database to something else it still returns a successfully connected message. What am I doing wrong? Thanks in advance.</p>