hi when i wrote and execute:
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<?php
$numero= mssql_connect("toto" , "sa" , "" );
echo ("ConnectID: $numero<br>\n");
$result=mssql_query("select EmployeeId,LastName from Employees",$numero );
while ($row=mssql_fetch_array($result)) {
$counter++;
$c1=$row["EmplyeeId"];
$c2=$row["LastName"];
echo ("$counter c1: $c1 c2: $c2<br>\n");
}
$result=mssql_query("INSERT into Employees (EmployeeId, LastName) values('2000','hatem gamal')",$numero);
mssql_close($numero);
?>
</BODY>
I get the following error :
Fatal error: Call to undefined function: mssql_connect() in D:\Inetpub\wwwroot\p1\data.php on line 9
any suggesions