I used PHP to create a database with a table. I did it in the following way:
The question is two years old but now it can be solved this way:
class MyDB extends SQLite3
{
function __construct()
{
$dbFile = __DIR__ . '/../../../adminer/Dictionary.sqlite';
$this->open($dbFile);
}
}
$db = new MyDB();
$db->exec('CREATE TABLE students (names VARCHAR(80))');
echo "done";
Source: http://php.net/manual/en/sqlite3.open.php