Je n'arrive pas a me connecter a ma base mssql a partir d'une page en php.

Avec le script :
<?
$ser="SERVEUR"; #the name of the SQL Server
$db="Runtime"; #the name of the database
$user="sa"; #a valid username
$pass=""; #a password for the username

# one line
$conn=odbc_connect("Driver={SQL Server};Server=".$ser.";Database=".$db,$user,$pass);
# one line

?>

J'obtient :
Warning: SQL error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length, SQL state S1090 in SQLConnect in c:\easyphp\www\test sql\index.php on line 8


avec le script:
<?
$conn=mssql_connect("SERVEUR","sa",'password');
if ($conn) {
echo "GOOD ";
}
else {
echo "BAD ! ".mssql_get_last_message();
}

?>

J'obtient :
Fatal error: Call to undefined function: mssql_connect() in c:\easyphp\www\test sql\index.php on line 2

Quelqu'un pourrait m'aider ?

Merci d'avance.
J'M