php-windows | 2001051
Date: 05/13/01
- Next message: Liquidice: "Re: [PHP-WIN] HELP !!!! can't load CURL module ! :-("
- Previous message: eco: "[PHP-WIN] Solved: auto variable parsing"
- In reply to: John Henckel: "[PHP-WIN] why mysql_connect crashes in Windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Since I'm a PHP newbie, I'm going thru some exercises on various topics.
Before I jump into php + RDBMS (sure to gimme plenty of problems to
solve), I though I'd try PHP's file handling and data storage routines
Specifically in relation to CSV files.
My program contained minor errors which were soon fixed (the path of the
DBA extension, etc.) But now I have this new error that I can't seem to
solve.
The statement in question is
$i = dba_open($dbpath, "w", $dbtype); // $dbtype = "db2"
I get the error,
Warning: no such handler: db2 in F:\PHPSTUFF\Adbook.php on line 6
Changing the value from db2 to dba, gdbm, etc. all result in the same
kind of error for each type!. Am i missing something here? Do I have to
install modules for each type of DB (groan)?
One more thing what's the difference between dba_open() and dbmopen(),
dba_fetch(), dbmfetch() etc
thanks.
RJ
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe <email protected> For additional commands, e-mail: php-windows-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Liquidice: "Re: [PHP-WIN] HELP !!!! can't load CURL module ! :-("
- Previous message: eco: "[PHP-WIN] Solved: auto variable parsing"
- In reply to: John Henckel: "[PHP-WIN] why mysql_connect crashes in Windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

