this is my code. I am using xampp version 7.when i run this code output for like this (Fatal error: Class 'SQLite3' not found in C:\xampp\htdocs\sqlite\index.php) .Default included sqlite3 dll file in /php/ directory and php.ini file included extension=php_sqlite3.dll
<?php
class MyDB extends SQLite3
{
function __construct()
{
$this->open('company.db');
}
}
$db = new MyDB();
if(!$db){
echo $db->lastErrorMsg();
} else {
echo "Opened database successfully
";
}
?>
how run sqlite in xampp version 7