Re: ODBC Woes

From: Date: Tue, 28 Aug 2001 20:26:49 +0000
Subject: Re: ODBC Woes
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-11926@lists.php.net to get a copy of this message
if($TFM_Doesnt_Have_Anything_About_It == 1) { $Shut_Yer_Unhelpful_Trap = 1; $You->RTFM && see(); } "Yves Glodt" <y.glodt@vo.lu> wrote in message news:200108282016.WAA23094@calais.pt.lu... if ($RTFM == 1) { int odbc_connect (string dsn, string user, string password [, int cursor_type]) } else { $do_this='http://php.net/download-docs.php'; } 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

« previous php.db (#11926) next »