Location: PHPKode > scripts > Dba Wrapper > dba-wrapper/example.php
<?
include "Dba.php";

//create object
$dba = new DbaWrapper("test.db","c"); // modes n - new , c - create if not exists OR use existing

//insert record
$dba->insert(1,"php4");

//fetch reord
$dba->fetch(1);

//replace
$dba->replace(1,"php5");

//delete
$dba->delete(1);

$dba->close();
?>
Return current item: Dba Wrapper