DBA_Open() Wont work! Yes I have searched.
Posted: Sat Nov 01, 2003 9:46 am
I dont understand. I am now trying to work with DBM. Question 1. Does this meen that i can only have 6 cause my host only gives 6 MySQL Databases. Question 2. I keep getting this Error: wile trying to create one. Here is code and then error.
index.php:
I made the folder data. And I changed the folders chmod to 777 and the index.php to 777, here is the error
Creating Database...
Fatal error: Call to undefined function: dba_open() in /home/william/public_html/database/index.php on line 8
Any ideas? Please help.
index.php:
Code: Select all
<html>
<head>
<title>Creating My First DBA.</title>
</head>
<body>
Creating Database...
<?php
$dbh = dba_open( "./data", "c", "gdbm" ) or die( "<b>Error</b>: Database could not load." );
?>
</body>
</html>Creating Database...
Fatal error: Call to undefined function: dba_open() in /home/william/public_html/database/index.php on line 8
Any ideas? Please help.