Jump to content

PHP to ODBC to Access (should be easy)


Gregory DG

Recommended Posts

What I have: Win XP (SP3), MS IIS4.0, PHP 5.2.6, MS ODBC connection setup to the Access DB (and works when downloading into Excel.)

 

Here's my code:

 

$link = odbc_connect("PROJ") or die ("Unable to connect to database.");

 

Jeez, I can't even get past this first line. It won't let me connect. Is there some extension I need to install? The only one I've seen in setup was for php_pdo_odbc.dll and that always gives me the "PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) 'php_pdo_oci8.dll'  in Unknown on line 0" error.

 

Can anyone offer some help? Thanks.

 

Link to comment
https://forums.phpfreaks.com/topic/131781-php-to-odbc-to-access-should-be-easy/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.