Re: Fatal error: Call to undefined function: odbc_connect()

From: Date: Wed, 07 Aug 2002 19:54:56 +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-111576@lists.php.net to get a copy of this message
As far as I know the linux PHP can't connect to a Windows M$ Access database... I think you either need to use PHP under windows, or find some linux ODBC driver, OR use MySQL :) Someone tell me if I'm wrong on this, thanks Andrew ----- Original Message ----- From: "Keith Roberts" <keith@getadeal.com> To: "php-general @ lists.php.net" <php-general@lists.php.net> Sent: Wednesday, August 07, 2002 8:45 PM Subject: [PHP] Fatal error: Call to undefined function: odbc_connect() > 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' , '', '' ); > > -- > Keith Roberts > IT Manager > Laptops For Less > 2995 White Star > Anaheim, CA 92806 > (714) 224 - 3980 > http://www.laptopsforless.com > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#111576) next »