Have you set up a ODBC connection ?
You must set up a ODBC connection in the ODBC Sources that is usually in you
Control Panel or Administrator Tools.
You must put it as a System DNS and set up the connection, so your local system
know where to find the database.
Kind Regards
Arn� Klopper
------------------------------------
NetCB Solutions (Pty) Ltd.
www.netcb.com
Office: +27 12 997 3007
Fax: 27 12 997 3629
Mobile: +27 84 513 4119
>>> Petrus Ali Saputra <[EMAIL PROTECTED]> 2004/11/08 05:55:45 AM >>>
Can anyone here help me how to connect to an ODBC data?
Here is my code: $odbc = odbc_connect("Ta Fara","","");
And this is the result: Warning: odbc_connect(): SQL error:
[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified, SQL state IM002 in SQLConnect in d:\my
documents\my webs\projects\ta fara\main\admin\config.php on line 2
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php