[PHP-DB] mssql_query returns a boolean false instead an empty recordset when the query doesn't match any record

2005-11-09 Thread Pablo F. Díaz Anzalone
Hi all, Maybe I didn't explain myself quite wel, so I wil repeat the queestion in other words. I would like to know which is the correct answer I should obtain from mssql_query. I have a server in which mssql_query is returning a false boolean when it should return an empty recordset

[PHP-DB] mssql_query returns a boolean false instead an empty recordset when the query doesn't match any record

2005-11-07 Thread Pablo F. Díaz Anzalone
Hi all, I'm moving my intranet pages from one server to a new one. In the first server everything works ok but in the new one we are having problems because every time that we are expecting a recordset and it should be empty because the query doesn't match any record it is return a boolean