title: Can one make an assignment on conditional statement in php?
body: <p>Can you make an assignment on conditional statement in php as so:</p>
  
  <pre><code>if(siteName_err = isValid("sitename", $_POST['sitename'], false))
  {
      $siteName = $_POST['sitename'];
  }
  </code></pre>