люди хелп.
все работает. фаил содается ( ПОЧЕМУ ОН ПУСТОЙ ?)
выводит:
ok
ok
ok
ok
ok
AAA
BBB
CCC
ok
$base1 = dba_open ("base1.db", "c", "db3");
if (!$base1) {
echo "dba_open failed\\n";
exit;
}
else echo "ok
";
if(!dba_insert("1", "AAA", $base1))echo "false";
else echo "ok
";
if(!dba_insert("2", "BBB", $base1))echo "false";
else echo "ok
";
if(!dba_insert("3", "CCC", $base1))echo "false";
else echo "ok
";
if(!dba_sync ($base1))echo "false sync";
else echo "ok
";
$k=dba_firstkey($base1);
echo dba_fetch ($k, $base1)."
";
$k=dba_nextkey ($base1);
echo dba_fetch ($k, $base1)."
";
$k=dba_nextkey ($base1);
echo dba_fetch ($k, $base1)."
";
if(!dba_sync ($base1))echo "false sync";
else echo "ok
";
dba_firstkey($base1);
dba_close ($base1));
?>