Introducción

Soporte para bases de datos SQLite versión 3.

add a note add a note

User Contributed Notes 1 note

up
-32
Variofox
12 years ago
Ubuntu 12.04 and up no longer has php5-sqlite3 included.

So this will no loger work:
<?php
$db
= sqlite3_open(":memory:");
?>

Use this:
<?php
$db
= new SQLite3('mysqlitedb.db');

$results = $db->query('SELECT bar FROM foo');
while (
$row = $results->fetchArray()) {
   
var_dump($row);
}
?>
To Top