db connection php & mssql & win2k

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux