Tell me, please, how can you make sure that if User 1 blacklists User 2 , then when User 2 goes to User 1 , a separate message is displayed. Thank you in advance!
Something like if (in_array ($ userlogin2, $ blacklist1)) die ("You in blacklist"); - ReinRauspm
|
1 answer 1
$res = mysql_query('select * from `user_ban_table` where `user_id`='.$user1Id.' and `ban_id`='.$user2Id); if(mysql_num_rows($res)>0){ print('Отдельное сообщение'); };