title: Why am I getting this parse error in a PHP if statement?
body: <p>I am getting this error:</p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected '!=' (T_IS_NOT_EQUAL) in C:\xampp\htdocs\assurance\confirmation.php on line 131</p>
  </blockquote>
  
  <p>Here is lines 131-134 of my code:</p>
  
  <pre><code>if ($_POST['password']) != ($_POST['confirm'])  { 
  echo '&lt;p class="error"&gt;Your passwords do not match.&lt;/p&gt;';
  $okay = FALSE;
  }
  </code></pre>