Jump to content

Sending a Messages to Many users with one TextField.


Dobakat

Recommended Posts

I got my own private messaging system up and running for my website, but one thing I want to do is enable the users to send a mail to many recievers.
Right now if they want to send the same message to 2 other users, they have to send it twice.
I want to allows users to type "dobakat, deneb, poncho, pablo" in the textfield and have the message sent to all those users. 
Some ways I could think of is to use an array, then get the size and do a for loop, or while loop. The thing I am having problem is how to manipulate the string so that instead of having a big string "dobakat, deneb, poncho, pablo" to have strings, "dobakat" "deneb" "poncho" (potentially stored in an array) and so on.
I tried looking for a tutorial to do this, but I fail to find it.
Well, I appreciate the time you took to glance at my post, and thanks in advance.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.