How to fetch users based on some fields in a content type?

I am using drupal 7. I want to fetch users based on some matching fields. E.g When a user with role buyer posts a job (which is a node), the system automatically fetches users with role seller, matching the fields in the job content type with profile2 fields. How to do it? I am a beginner, so explain a little

It has been a long time since I’ve done anything with Drupal, but have you searched for a module that would do that job? For example, the views module, I believe, can do things with data.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.