Jump to content

strange error....


JaBBa

Recommended Posts

server: WIN2003 - iis6 - MSSQL EXPRESS 2005 - PHP 5.2

this is my code:
$connections=mssql_connect($host,$user,$pwd)
or die ("bla bla bla bla  $host<br>");
$database=mssql_select_db ($db, $connessione)
or die ("bla bla bla bla db $db <br>");

$q-find = " SELECT * FROM [dbo].[ANC] ";
$e-find = mssql_query ($q-find, $connections)
or die ("bla bla bla bla $q-find");

THIS IS THE RESULT:

Parse error: parse error, unexpected '=' in C:\inetpub\wwwroot\anag-cli.php on line 15

Where is the error in the server configurations ??
Link to comment
https://forums.phpfreaks.com/topic/29397-strange-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.