I am currently learning PHP, and have now started on databases. I have done numerous searches on my PC, and on the Internet to try and find the necessary file, but to no avail.
When I have this code:
$database = dba_open( "./data/mobile", "c", "db3" ) or die( "Couldn't open database" );
or this code:
$database = dba_open( "./data/mobile", "c", "gdbm" ) or die( "Couldn't open database" );
They give me these errors (respectively):
Warning: driver initialization failed in c:\web\code\hour11\tmp.php on line 15
Warning: no such handler: gdbm in c:\web\code\hour11\tmp.php on line 15
Is there anything I'm doing wrong? Or is it just that I don't have the required extension?
If it's only a case of a missing file, could someone please direct me to where I can download it.
OS: Windows XP Pro
Server: Apache 1.3.23
PHP: 4.1.2
Jesse Walker