Quote:
Originally Posted by domokun
Hmm, the post count freeze code you gave me works great, but I was wondering, how do you add more than one user? I tried separating the UserID's with a comma but that didn't work. Thanks again
Domokun
|
Code:
if ($this->fetch_field('userid') == X || $this->fetch_field('userid') == X)
{
$this->do_unset('posts');
}
|| = or.
Or you could create an array with the user ids and use in_array
http://php.net/in_array