Hey guys.
So I'm about to start developing a Private Messaging system for a CMS that I already have set up and working fine, and I had a problem I would like to solve before I start. I would like to add a feature that allows users to send the message to one or more users at a time. Whether it be by typing in the different usernames seperated by commas in the input field or another method, I have no idea how I'd handle submitting this into the database.
I don't want it to be like a group conversation though, I want it to submit the message seperately for each user they included in the receptitents field.
Any suggestions on how to go about doing this?
Gathering it'd be like an array of some sort but I have very little experience with arrays from forms and how to seperate them.