preg_match array
<p>It says that it "expects parameter 1 to be string". So i guess you cant have an array in preg_match. But what should I use instead? Thanks</p>

<pre><code>$config['forbidden_names'] = array('admin', 'moderator', 'hoster');


if (preg_match($config['forbidden_names'], $string)) echo "Forbidden name!"; 
</code></pre>

<p>edit: in_array maybe. lol. im stupid</p>
