title: Using explode, split, or preg_split to store and get multiple database entries
body: <p>I'm trying to figure out how and which is best for storing and getting multiple entries into and from a database. Either using <strong>explode</strong>, <strong>split</strong>, or <strong>preg_split</strong>. What I need to achieve is a user using a text field in a form to either send multiple messages to different users or sharing data with multiple users by enter their IDs like "101,102,103" and the PHP code to be smart enough to grab each ID by picking them each after the ",". I know this is asking a lot, but I need help from people more skilled in this area. I need to know how to make the PHP code grab IDs and be able to use functions with them. Like grabbing "101,102,103" from a database cell and grabbing different stored information in the database using the IDs grabbed from that one string.</p>
  
  <p>How can I achieve this? Example will be very helpful.</p>
  
  <p>Thanks</p>