title: PHP Strings not equal when they are
body: <p>I've got this code here to check if a password is correct in my login script;</p>
  
  <pre><code>if(md5(md5($row['salt']).md5($pwd) == $row['password'])) 
  </code></pre>
  
  <p>Echoing both of these values, they're the exact same, except my script runs the else statement which tells the user the password is incorrect rather than actually logging them in. </p>
  
  <p>Any help would be appreciated.</p>