I am trying to get a list of filtered users based on the logged-in user’s information.
To do this, I have given a button on my profile page, which when clicked on, takes me to a different page.
This page should now display all the users from my database that belong to the same country as my logged-in user.
I am applying all the filters but it only returns the logged-in user’s name.
I tried listing just the list of all my registered users but even that is not working. I am getting a blank page. No errors.