title: Parse error: syntax error, unexpected 'if' (T_IF), expecting ',' or ';' Error
body: <p>I got this error:</p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected 'if' (T_IF), expecting ',' or
    ';'.</p>
  </blockquote>
  
  <p>What's the problem? I couldn't find it, Thanks.</p>
  
  <pre><code>echo '&lt;strong&gt;Role:&lt;/strong&gt;'if($query['role'] == 1){echo 'Admin';} elseif ($query['role'] == 2){echo 'User'} '&lt;br&gt;';
  </code></pre>