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