mssql_rows_affected works with PHP 4.2.1 on windows as long as you include the connection ID, without that even though it doesn't generate an error with just 'value = mssql_rows_affected' it doesn't pick up any value
At the time of writing this note, the mssql_rows_affected function doesn't seem to be working. If you need to access the number of rows affected by the most recent mssql query, you can grab the @@ROWCOUNT variable. A quick example of how to do this: