title: Getting the error unexpected "{"
body: <p>I am kind of embarraced asking this, but i keep getting the error unexpected "{"</p>
  
  <pre><code>&lt;?php
  $c = trim($_POST['cm']);
  $inc = trim($_POST['inches']);
  $resultat;
  
  if (isset($c)) &amp;&amp; (isset($inc)){
  echo "string";
  exit();
  }
  
  if(isset($c)){
  echo "string";
  exit();
  }
  
  if(isset($inc)){
  echo "string";
  exit();
  }
  ?&gt;
  </code></pre>
  
  <p>Im testing if both variables are empty, then im testing if one of them is empty ...
  but i keep getting a syntax error under every if statement ... cant see what i missed?</p>