Re: Fatal error: Call to undefined function: odbc_connect()
| From: | Bob Lockie | Date: | Wed, 07 Aug 2002 20:08:39 +0000 |
| Subject: | Re: Fatal error: Call to undefined function: odbc_connect() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111577@lists.php.net to get a copy of this message | ||
> I am getting this error when trying to connect to a MS Access database. I
>do think that it is the connection that is failing, it is the function:
>
> Fatal error: Call to undefined function: odbc_connect() in
>/home/sites/home/web/phptest.htm on line 37
>
> What am I doing wrong or what have I missed. Here is a snippet of the code
>that I am using:
>
> $cnx = odbc_connect( 'SLSocket' , '', '' );
Maybe PHP needed to be compiled with ODBC support?