hi, im new to php, and im trying to connect to a sql server using iis and programing in dreamweaver...
im using the following code:
<?php
$sqlserver = 'localhost';
$sqluser = 'sa';
$sqlpass = '';
$connex = mssql_connect(&sqlserver, &sqluser, &sqlpass);
if ($connex)
{
echo 'im in';
}
?>
it gives me the following error
Parse error: parse error, expecting T_VARIABLE' or'$'' in c:\inetpub\wwwroot\test\test1.php on line 15
line 15 would be :
$connex = mssql_connect(&sqlserver, &sqluser, &sqlpass);
any help would be appreciated