Thanks for the responses.
I need to chew on things...
In the mean time, allow me to explain a bit more of what I am trying to do!
I just re-wrote my "send-pm.php" script to allow the Sender to PM multiple Recipients at once. (No small feat, counter to what others think!)
It is done and works great, but now I want to allow the Sender to not only PM multiple people, but choose whether a Recipient is a "To:" or a "Bcc:"
(This is actually a rather involved new project for me!!)
I sorta need two things all at once...
On one hand, it would be easier to merge $POST['to'] and $POST['bcc'] together in one array so I can do things like check whether a username is in the database using one array.
Then again, if I just merged things together using my existing code, I would have no way to know who is a "To" and who is a "Bcc"?! :-/
I am thinking that just "adding another dimension to my two-dimensional" array would be the smartest way to approach things. (With records, if you need to manipulate 4 things, you just query up 4 fields. So I guess I need to think along those lines with arrays...)
Lemme look at my existing code (i.e. "To" only) and at your suggestions, and see if I can start to figure out this latest puzzle?!
Hope you follow me somewhat...