title: Error " syntax error, unexpected 'preg_match' (T_STRING) in"
body: <p>I keep getting this error message saying:</p>
  
  <pre><code>syntax error, unexpected 'preg_match' (T_STRING) in
  </code></pre>
  
  <p>In this line:</p>
  
  <pre><code>Public function isDataValid()
  {
  return (preg_match('/^[a-zA-Z0-9](5-12)$/',$this-&gt;_username) (preg_match('/^[a-zA-Z0-9](8-12)$/',$this-&gt;_password)))? 1 = 0;
  </code></pre>
  
  <p>Can't figure this out. Help</p>