Desperate: odbc_connect() does not work! Please help!
| From: | Kraa de Simon | Date: | Wed, 31 Oct 2001 13:39:50 +0000 |
| Subject: | Desperate: odbc_connect() does not work! Please help! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73008@lists.php.net to get a copy of this message | ||
Hi,
When I execute:
<? odbc_pconnect("results", "sysprogress", "mls"); ?>
I get error:
Warning: SQL error: , SQL state 01000 in SQLConnect in
/usr/local/apache/htdocs/odbc.php on line 1
See attachment for phpinfo().
BTW 1
The ODBC config itself works fine. I can make a connection and retrieve data
from the database using a test C program.
BTW 2
I used --with-custom-odbc and set env var CUSTOM_ODBC_LIBS to the lib dirs
and env var CFLAGS to the include dirs.
Met vriendelijke groet / With kind regards,
ICL Nederland B.V. Simon de Kraa
e-Applications / Logistic Systems Systems Architect
Het Kwadrant 1 Tel. +31 346 598865
Postbus 4000 Fax +31 346 562703
3600 KA MAARSSEN
The Netherlands mailto:Simon.de.Kraa@icl.nl
---
Progress 9.1c, Roundtable 9.1c, NuSphere Pro Advantage 2.3.1 @ MS Windows
2000 5.00.2195 SP 2
Progress 9.1b @ SCO UnixWare 7.1.1