Answers for "sqlite reading data on php"

PHP
0

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 successfullyn";
   }
?>
Posted by: Guest on October-30-2020

Browse Popular Code Answers by Language