(PHP 3, PHP 4 , PHP 5)
mssql_num_fields() returns the number of fields in a result set.
See also mssql_query(), mssql_fetch_field(), and mssql_num_rows().