SQLite is one of the most interesting new features in PHP.

Using SQLite
<?php
sqlite_open
(':memory:'0666$sqliteerror);

if (
$db) {

  
sqlite_query($db,
           
'CREATE TABLE foo (bar varchar(10))');
  
sqlite_query($db,
           
"INSERT INTO foo VALUES ('fnord')");

  
$result sqlite_query($db,'select bar from foo');
  
$record sqlite_fetch_array($result);

  echo 
"<pre>";
  
var_dump($record);
  echo 
"</pre>";

} else {
  die (
$sqliteerror);
}

?>