ODBC connection under Win32 + Apache + SQL Server

From: Date: Wed, 12 Sep 2001 03:54:37 +0000
Subject: ODBC connection under Win32 + Apache + SQL Server
Groups: php.db 
Request: Send a blank email to php-db+get-12358@lists.php.net to get a copy of this message
Hi, i'm new using PHP i'm trying to run some basic PHP scripts to retrieve a show data coming from a SQL Server database. The problem is that when i try to run this: $conn=odbc_connect("MQIS","sa",""); PHP returns the following warning: Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified I test the DSN with VFP using: SQLStringConnect("dsn=MQIS;usr=sa;pwd=;") and it works pretty fine. ¿What could be the problem here? TIA Victor -- ============================== Victor Espina Caracas, Venezuela http://mitrompo.com/vespina vespina@nospam.mitrompo.com (Quite el 'nospam' para responder) (Remove 'nospam' to reply)

« previous php.db (#12358) next »