title: multiple php if($category->getId()==
body: <p>I show dynamic content depending on category.
  The code works perfectly fine, except I would like to combine multiple getId in 1 if statement. Currently every category Id is called per if or elsif statement. Wich gives me a lot of extra code.
  Is it possible to combine mulitple category id's  in 1 if statement???</p>
  
  <p>The current code:</p>
  
  <pre><code>&lt;?php $category = Mage::getModel('catalog/layer')-&gt;getCurrentCategory();?&gt; 
  &lt;?php if($category-&gt;getId()==1): ?&gt; text 1
  &lt;?php elseif($category-&gt;getId()==2): ?&gt; text 1
  &lt;?php elseif($category-&gt;getId()==3): ?&gt; text 1
  &lt;?php else: ?&gt; text 2
  &lt;?php endif; ?&gt;
  </code></pre>