Tag:encapsulation

  • The sqlite operation class encapsulated by php

    Time:2022-11-17

    Sqlite is a local miniaturized database installed by default in php, which is similar to the small database of xml, but sqlite has stronger functions. sqlite.class.php file: <?php class sqliteDB{ private $sqliteResult; private $error = ”; private $createTable = <<<TABLE /*Initialize and create data tables, multiple tables can be created*/ CREATE TABLE COMPANY (ID INT […]