Re: ODBC Woes

From: Date: Tue, 28 Aug 2001 20:17:48 +0000
Subject: Re: ODBC Woes
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11924@lists.php.net to get a copy of this message
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'; }

« previous php.db (#11924) next »