[PHP-INST] Linux SUSE 6.3 (PHP4) >>>>> Windows NT MSSQLServer 7.0 From: Torsten Schäfer (th.schaefer <email protected>)
Date: 05/23/01

Hello
How can I get a connection to a MSSQL Server7.0 form a Linux WebServer
(apache) over PHP(4)
I have found some infomation on www.phpbuilder.com (sybase) but it doesn´t
work.
I get the following error: "Fatal error: Call to unsupported or undefined
function mssql_connect() in /usr/local/httpd/htdocs/unix.php3 on line 2"

The Script:

<?php
$link = mssql_connect("...SQL SERVERNAME WinNT
...","...DBUser...","...DBPassword...");
$query = "SELECT * FROM ...Table...";
$result = mssql_query($query,$link);
$number = mssql_num_rows($result);
exit(0);
?>
I´m a beginner of PHP scripting and I´m learning by doing. I hope you can
help me.

Thanks for your help

Torsten Schäfer (Th.schaefer <email protected>)

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe <email protected>
For additional commands, e-mail: php-install-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>