I'm currently having trouble with a tutorial script that looks like this:
<?php
$dbh=dbmopen("./data/products","c") or die("Couldn't open DBM");
dbminsert($dbh,"Sonic Screwdriver","23.20");
dbminsert($dbh,"Tricorder","55.50");
dbminsert($dbh,"ORAC AI","2200.50");
dbminsert($dbh,"HAL 2000","4500.50");
dbmclose($dbh);
?>
and returns this in the browser:
Fatal error: Call to undefined function: dbmopen() in /var/html/domains/xinxang.com/public_html/phptest/database001.php on line 19