title: Bracket not expected in else statement?
body: <p>I have an error, unexpected brackets on an else statement, which makes no sense. What am I doing wrong?</p>
  
  <pre><code>if ($sortBy == "random") {
  $sortByOption1 = "selected";
  } 
  else if ($sortBy == "mostvotes") {
  $sortByOption2 = "selected";
  } 
  else ($sortBy == "newest") {
  $sortByOption3 = "selected";
  } 
  </code></pre>
  
  <p><b> Error: </b></p>
  
  <pre><code>syntax error, unexpected '{' on line 9
  </code></pre>