hi
I'm trying to make a connection to a Microsoft SQL Server database in SAHARA Server.I have no problem when i use ODBC functions. But when i want to use mssql functions i get just a blank page.
i've already configured php.ini by activating the line
extension=php?_mssql.dll and i have php_mssql in both /WWINNT/system32 and /extension.
In Microsoft SQL utilities i've take sihamsahara as an alias of SAHARA and i've choose TCP/IP protocole and give the port 1433.
Here is my code
$server="sihamsahara";
$username="siham";
$password="siham";
$sqlconnect=mssql_connect($server,$username,$password);
$sqldb=mssql_select_db("Equivalence_2005",$sqlconnect);
$sqlquery="SELECT nom_ville FROM Ville";
$results=mssql_query($sqlquery);
$lastMsg = mssql_get_last_message();
echo $lastMsg;
while($row=mssql_fetch_array($results)){
echo $row['nom_ville']."<br>\n";}
mssql_close($sqlconnect);
can anyone help me