simple php code syntax error
<p>What is wrong with this code. It's giving me syntax error in the editor</p>

<pre><code>$posts = if($row['plans'] == 1000) { 2 } elseif($row['plans'] == 1001){ 8 }else{ $row['posts'] }
</code></pre>
