How to count a $link posted by a $nick in $chat more than 2 times?
I'm trying to do a count of a $link posted in $chat by a $nick more than 2
times or more or equal of 3 times to then call for a function of ban.
I've tried if (count(explode($link, $chat, $nick))>=3) { which i know is
not true but i'm out of options and i'm still at the beginning of PHP
learning.
Thanks in advance
No comments:
Post a Comment