ODBC Woes
| From: | Jonathan Hilgeman | Date: | Tue, 28 Aug 2001 20:05:01 +0000 |
| Subject: | ODBC Woes | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-11921@lists.php.net to get a copy of this message | ||
Okay, all I need to know is this:
Some people say that they can only connect with:
odbc_connect("DSN=Datasource;UID=username;PWD=password","","");
Others say that doesn't work, and that they can only connect with:
odbc_connect("Datasource","username","password");
I am confused. I can use the second example (I'm on PHP 4.0.3), but not hte
first, although I need to use the first example. Is there some sort of
switch that lets you decide what format you can follow?
- Jonathan