[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-windows
Subject:    [PHP-WIN] Having problems connection PHP to MSSQL2000
From:       195.97.162.7
Date:       2003-02-27 14:10:01
[Download RAW message or body]

Hi.

I'm just installed the last PHP version on a WIN2k server with MSSQL2000.
And i tried to connect to MSSQL with the following code:

    <?
    $dbhost = "localhost";
    $username = "sa";
    $password = "";
    $dbName = "license";
    MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE FAILED TO
RESPOND.");     mssql_select_db($dbName) or DIE("Table unavailable");
    ?>

But I keep getting the same error.

    Fatal error: Call to undefined function: mssql_connect() in
D:\Licens\php\main.php on line 6

Can anybody help me ????

//Anders



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic