Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to read sqlite file in php

<?php
   class MyDB extends SQLite3 {
      function __construct() {
         $this->open('test.db');
      }
   }
   $db = new MyDB();
   if(!$db) {
      echo $db->lastErrorMsg();
   } else {
      echo "Opened database successfully
";
   }
?>
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #read #sqlite #file #php
ADD COMMENT
Topic
Name
9+3 =