when I executed the following script:
<body>
<?php
$id = dba_open("test.db", "n", "gdbm");
if(!$id) {
echo "dba_open failed\n";
exit;
}
dba_replace("key", "This is an example!", $id);
if(dba_exists("key", $id)) {
echo dba_fetch("key", $id);
dba_delete("key", $id);
}
dba_close($id);
echo "\n";
?>
</body>
The screen display the following message:
Fatal error: Call to undefined function: dba_open()
why?
but when i executed it under the command line,it does well.
Any help will be greatly appreciated.