[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-db
Subject:    Re: [PHP-DB] ODBC Woes
From:       Yves Glodt <y.glodt () vo ! lu>
Date:       2001-08-28 20:17:48
[Download RAW message or body]

On Tuesday 28 August 2001 22:05, Jonathan Hilgeman wrote:
> 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

if ($RTFM == 1) {
int odbc_connect (string dsn, string user, string password [, int 
cursor_type])
} else {
$do_this='http://php.net/download-docs.php';
}

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic