title: Using if else statement based off of $_POST value to echo message
body: <p>Pretty sure this is a quick and easy question but I have a form that on action POST goes to a confirmation page. I need a message to display on the confirmation page if the user selects county1 but if user selects county2, county3, or county4. However, when I setup the statement it's not working. Probably a syntax error or two on my part. Any help would be greatly appreciated. </p>
  
  <p>A messy idea of what I think should work: </p>
  
  <pre><code>&lt;?php $county=$_POST['County']; 
  if ($county="Polk") {
  echo "Important message about your county"; }
  else {
  echo " "; // Or nothing at all
  }
  ?&gt;
  </code></pre>
  
  <p>But</p>
  
  <pre><code>&lt;?php echo $_POST['County'] ?&gt; 
  </code></pre>
  
  <p>displays the name of the county so I know the submission is carrying through. Thoughts on why my above code wouldn't be working? If you could flag  syntax errors or code placement that'd be much appreciated! Thank you! </p>