Hey guys,
Ive got a database driven "instant message" system going, however Im having problems with getting multiple recipiants to work. Most of the message systems Ive seen use a ; between the recipiants. What is the trick to getting the database to recognize several different names containted in the recipiant column of the database? Has anyone delt with this before and know the trick?
Thanks fellas.
PS. Id also like to have an all inclusive recipiant. For example if you send a message to "All", everyone will be able to get it. Ive tried:
<b>select * from message where reciever='$valid_user' or reciever = all</b>
However this does not seem to work, as it gives an error in the result.