Multiple conditions
<p>I'm new to php and having some trouble. I wanted to add the same widget to the 3rd and 6th posts of my blog. I currently have</p>

<pre><code>&lt;div class="addArea"&gt;
                    &lt;?php $i++;
                    if($i==3){get_sidebar(add);} ?&gt;
&lt;/div&gt;
</code></pre>

<p>Add that works fine for the 3rd, but how would I add it to the sixth post as well?</p>

<p>I tried the following but no luck</p>

<pre><code>&lt;div class="addArea"&gt;
                    &lt;?php $i++;
                    if($i==2){get_sidebar(add);} if($i==3){get_sidebar(add);} ?&gt;
&lt;/div&gt;
</code></pre>

<p>Thanks in advance for any help</p>
