title: Warning: preg_match() [function.preg-match]: No ending delimiter '/' found
body: <p>when this function was called it gave the message
  Warning: preg_match() [function.preg-match]: No ending delimiter '/' </p>
  
  <p>this is the function to check for alphanumeric input </p>
  
  <pre><code>function CheckAlphanumeric($element,$minlength,$maxlength)
   { if (!preg_match ("/[^A-Za-z\s\0-9 - @ .]//", $element) &amp;&amp; strlen($element)&gt;=$minlength &amp;&amp; strlen($element) &lt;=$maxlength) { return TRUE; }
   else { return FALSE;}
  
   }
  </code></pre>
  
  <p>What are your inputs on this warning? </p>