Im not much of a programmer so forive the green question, but how would the query look if you wanted it to pick one person out of three different groups? (Not one person for EACH group.... Just one person total. thats it)
Like so?????
SELECT U_Username FROM w3t_Users WHERE U_Groups LIKE '%-5-%' '%-6-%' '%-7-%'ORDER BY RAND() LIMIT 1
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.