I put together some PHP code that lists the address of users with a common interest.
The common interests are custom fields in the profile (i.e. tennis).
I'd like to be able to search all users profiles to see if the common interest box was checked.
Once all people with the common interests are identified I would then like to present the list of all users to the individual currently utilizing this function.
This doesn't see to difficult; however, I can't see to get things going. Any help would be greatly appreciated.
I am trying to get a list of all the nodes from the database with their corresponding url aliases and terms, but I can't see how to do this with SQL. I wish the url_alias table contained the nid. Here is my current sql:
SELECT nt.nid, nt.tid, t.name, n.title FROM conconone_term_node as nt, conconone_term_data as t, conconone_node as n WHERE nt.nid = n.nid and nt.tid = t.tid