int sasql_stmt_field_count( sasql_stmt $stmt )
This function returns the number of columns in the result set of the statement.
$stmt A statement resource.
The number of columns in the result of the statement. If the statement does not return a result, it returns 0.