Re: ODBC connection parameters

From: Date: Tue, 08 Oct 2002 16:10:47 +0000
Subject: Re: ODBC connection parameters
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16255@lists.php.net to get a copy of this message
I was trying to just run the connect statement and see if it would just connect and got this message. Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in c:\inetpub\wwwroot\dbconnect.php on line 16 "Douglas F. Keim" <keimdf@softek-net.com> wrote in message news:20021008153509.8567.qmail@pb1.pair.com... > I am trying to connect to an ODBC database that is not Access nor MSSQL. I > have the ODBC entry done and have tested the connections within the ODBC > manager. > > I noticed that a connection within PHP begins with $Link, but I can't seem > to find the values for the rest of the statement. > > for Mysql it goes something like this -- $Link = mysql_connect. > > I need to figure out what mysql_connect should be replaced with. The only > reference that I found was mssql_odbc. > > I also know that Mysql and ODBC support is built into PHP, so maybe this is > easier that I think. > > Anyone help me? > >

« previous php.windows (#16255) next »