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 Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php