thak's to all but i resolved with a dsn connection

$con = odbc_connection('dsn_con','un_db','pwd_db');

and odbc function ... ?

I don't know if they function fine....

"Stephen" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
> Giko
>
> You will need to tell us what the error message it is you get before we
can
> help you.
>
> Stephen
>
>
> ----- Original Message ----- 
> From: "giko" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, August 20, 2003 9:06 AM
> Subject: [PHP-WIN] db connection php & mssql & win2k
>
>
> > hi,
> >
> > i try
> >
> > $serdb="LOCALMACHINE"; #the name of the SQL Server
> > $dbdb="dbname"; #the name of the database
> > $userdb="userdb"; #a valid username
> > $passdb="passdb"; #a password for the username
> >
> > # one line
> > $con=odbc_connect("Driver={SQL
> > Server};Server=".$serdb.";Database=".$dbdb,$userdb,$passdb)or die("
> > connessione non riuscita");
> > # one line
> >
> > but it doesn't work ...
> >
> > can anyone help me please?
> >
> > bye
> >
> > thank's a lot
> >
> >
> >
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to