<?php    /* Procedural Approach */
    
$db sqlite_open("/path/to/database");

    
$result sqlite_unbuffered_query("SELECT * FROM tbl"$db);
    
/* OR */
    
$result sqlite_unbuffered_query($db"SELECT * FROM tbl");
?>
<?php    /* Object Oriented Approach */
    
$db = new sqlite_db("/path/to/database");

    
$db->unbuffered_query("SELECT * FROM tbl");
?>