title: PDO:sqlite doesnt INSERT data, yet no error
body: <pre><code>try
  {
      $res = $db-&gt;exec($sql);
      if ($res === FALSE)
      {
          print_r($db-&gt;errorInfo());
          die();
      }
  }
  catch(PDOException $e)
  {
      die($e-&gt;getCode().':'.$e-&gt;getMessage());
  }
  catch(Exception $e)
  {
      die($e-&gt;getCode().':'.$e-&gt;getMessage());
  }    
  </code></pre>
  
  <p>No error info, and neither does it get caught as an exception. Yet $res is FALSE and no data gets inserted.</p>
  
  <pre><code>Array
  (
      [0] =&gt; 
  )
  </code></pre>
  
  <p>But when I echo <code>$sql</code> and enter that query in SQLiteManager, it works inserting the data.</p>