$server = "ipaddress:portnumber"; //this is ipaddress-colon-portnumber
$user = "username";
$passwd = "password";
$db_name = "dbname";
$table_name = "tablename";
$conn = mssql_connect($server, $user, $passwd) or die("Couldn't connect
to SQL Server on $server");
mssql_select_db($db_name, $conn);
Bill
_____
From: Asim Manzur [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 12:45 PM
To: CF-Talk
Subject: PHP Guru
could someone please help me on the following line of code.
$db = mysql_connect($host, $user, $pass);
mssql_select_db($database,$db);
the above is using to connect with MySQL
I need to connect with MSSQL
Thanks
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

