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 ([EMAIL PROTECTED])






-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to