Hello,
Can anyone help with this problem?
I am trying to create an list of usernames that can be added to a blocked list.
The idea is that my members can then block messages (if required) from other members. I'm sure there is a better way than adding 1,2,3 etc.
...any help would be really appreciated (i'm having one of those days!).
My way is far too long winded! 🙂 lol
Example:
//// username to block ////
$blocked1 = "username";
$blocked2 = "username";
if ($sender == $blocked1) {echo "message blocked from $sender<br><hr>";}
else if ($sender == $blocked2) {echo "message blocked from $sender<br><hr>";}
You can see what im getting at, but what's the short version? 🙂 lol
Thanks in advance. 🙂