I am having problems with setting up a system.We have a SQL Server 2005 running and I want to connect it from another windows machine running php 5.2 and apache.I can connect to SQL using mssql_connect but I can not retrieve any results from a simple query (SELECT * FROM USERS) mssql_query doesnt return anything nor dies or shows an error.Same code with same php is working on another machine (client of SQL Server machine) and in the PC running SQL Server.What could be going on?