Hello
I've created a new profile field called "profile_COPD". I would now like to insert a php snippet on another page to show all the members who have checked the "profile_COPD" checkbox.

I would like the results to show the 'Real Names' of the members which would hyperlink off to their profile. Something like:

Members with COPD:
John Smith, Ian Wright, Nigel Hawkins, etc etc

I'm sure/hoping it's a simple query but I have not been able to find anything suitable so far.

Thank you
Scott

Comments

amitaibu’s picture

Sounds better if you could do the query through Views module. Is it possible for you?

---
gizra.com - where cool software developers meet geek fashion designers

gavin_s’s picture

Views does not seem to display any results. Also, I would like to incude the list as part of another page, so I thought having the php statement would have been easy to integrate...?

gavin_s’s picture

Any other ideas?/code?

gavin_s’s picture

Hi - I really need help with this snippet. What's the best way to set a mini bounty so I can incentivise someone to help out?