title: PHP Parse error: syntax error, unexpected '}'
body: <p>OK I'm returning to PHP after not using it for a couple of years and I'm trying to do a simple check of a $_POST variable.</p>
  
  <p>I have:</p>
  
  <pre><code>if(isset($_POST['partydate'])) { $partydate = $_POST['partydate'] } else { $partydate = "No Date Selected" };
  </code></pre>
  
  <p>It's the only thing on that line but I keep getting the following when the page runs:</p>
  
  <pre><code>Parse error: syntax error, unexpected '}' in C:\xampp\htdocs....... on line 3
  </code></pre>
  
  <p>What is the obviously VERY simple thing I am overlooking here?!</p>