title: Warning: explode() expects parameter 2 to be string, array given
body: <p>Im trying to use a script. And when I go to use it I get the following error:</p>
  <blockquote>
  <p>Warning: explode() expects parameter 2 to be string, array given in /myred/include/functions.php on line 16</p>
  <p>Warning: in_array() expects parameter 2 to be array, null given in /myred/include/functions.php on line 17</p>
  </blockquote>
  <p>Now, Below is line 16 and 17 of the functions.php. Anyone have any idea what is wrong with it?</p>
  <pre><code>$reserved = explode(&quot;--&quot;,$reserved);
  if (in_array(&quot;$dname&quot;, $reserved)) {
      $errormsg .= &quot;$text_17&lt;br&gt;&quot;;
  }
  return $errormsg;
  </code></pre>
  <p>For reference, this is the script I am using: <a href="http://www.milliscripts.at/downloads/myred_14_mysql_5.zip" rel="nofollow noreferrer">http://www.milliscripts.at/downloads/myred_14_mysql_5.zip</a></p>
  <p>THANKS!</p>