Okay, here's what I want to do. Let's say I have a system to post messages on a members page. I know how to post a message to a user, one at a time, but what if I want to post to several, such as:
Jim - Male - Ohio
John - Male - Iowa
Lucy - Female - Florida
Julie - Female - Ohio
Andy - Male - Florida
Karen - Female - New York
Rex - Male - New York
If I make a new entry, and I select user Jim, he gets it. But how do I select Users in Ohio so Jim and Julie get it? Or Females so all the ladies get it. And also have it so if someone new joins and they are male, they see all "male" postings, etc. I really can't make 1 record and put multiple entries in it can I?
i.e. Male - Jim, John, Andy, Rex
Female - Lucy, Julie, Karen
I guess I want to have groups, but how do I show jim something sent to "males" when his page calls webpage.php?user=jim
My database looks for records with username jim. How can I adapt this?
Thank you.