I've seen this question asked twice, but with no answer.
I have PHP 4.04 compiled with IBM-DB2 support running on Linux Kernel 2.2.17 with Apache 1.3.14. I can use phpinfo() and see that I do indeed have the option ibm-db2 compiled. When I try to connect to the local database with a standard:
$var = odbc_connect($DB, $USER, $PASS);
I get the following error:
Warning: SQL error: , SQL state €M%@€M%@h???@ in SQLConnect in /var/www/html/test.php on line 4.
Any help is appreciated.
Thanks - Jhaskins
I have PHP 4.04 compiled with IBM-DB2 support running on Linux Kernel 2.2.17 with Apache 1.3.14. I can use phpinfo() and see that I do indeed have the option ibm-db2 compiled. When I try to connect to the local database with a standard:
$var = odbc_connect($DB, $USER, $PASS);
I get the following error:
Warning: SQL error: , SQL state €M%@€M%@h???@ in SQLConnect in /var/www/html/test.php on line 4.
Any help is appreciated.
Thanks - Jhaskins