RE: [PHP] Where do I specify a DSN? v0.2

2002-07-25 Thread Andrew Hill
David, The error probably has to do with your PHP environment being unable to locate your odbc.ini file. You will need to set your odbc.ini location as well as the location of the driver manager. Check out this HOWTO http://www.iodbc.org/odbc-phpHOWTO.html to get an idea of how it all works

RE: [PHP] Where do I specify a DSN?

2002-07-01 Thread Jay Blanchard
[snip] Warning: SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect in /var/www/html/index.php on line 4 [/snip] Could we see line 4? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Where do I specify a DSN?

2002-07-01 Thread Lazor, Ed
It depends on your operating system. This is a Windows system level configuration option. For example, in Windows 2000, you'd configure DSN's in Start-Settings-Control Panel-Administrative Tools-Data Sources(ODBC) -Original Message- I'm getting this error message...where does

RE: [PHP] Where do I specify a DSN? v0.2

2002-07-01 Thread Jay Blanchard
What kind/version of DB? -Original Message- From: David Busby [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 2:55 PM To: php-general Subject: [PHP] Where do I specify a DSN? v0.2 List, Guess I should be more specific: Heres line four: $db =