我使用的是WAMP2.2
菜单-PHP-PHP extensions勾选php_sqlite3
<?php
$conn = new SQLite3("c:/wamp/www/test.db");
$r=$conn->query('select * from table1');
while($row=$r->fetchArray())
{
var_dump($row);
}
$conn->close();
?>
我使用的是WAMP2.2
菜单-PHP-PHP extensions勾选php_sqlite3
<?php
$conn = new SQLite3("c:/wamp/www/test.db");
$r=$conn->query('select * from table1');
while($row=$r->fetchArray())
{
var_dump($row);
}
$conn->close();
?>