JaBBa Posted December 4, 2006 Share Posted December 4, 2006 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 15Where is the error in the server configurations ?? Quote Link to comment https://forums.phpfreaks.com/topic/29397-strange-error/ Share on other sites More sharing options...
jsladek Posted December 4, 2006 Share Posted December 4, 2006 are $q-find and $e-find good var names? maybe try $q_find -John Quote Link to comment https://forums.phpfreaks.com/topic/29397-strange-error/#findComment-134890 Share on other sites More sharing options...
JaBBa Posted December 4, 2006 Author Share Posted December 4, 2006 yes. the variable name is the error. Thx Quote Link to comment https://forums.phpfreaks.com/topic/29397-strange-error/#findComment-135077 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.