title: Print values of array in Twig with nested loop
body: <p>I am working with symfony 2. I am fetching records from table and sending it to the view:
  Below is the php code that normally prints each value of the array:</p>
  
  <pre><code>&lt;tbody&gt;
        &lt;?php foreach($categories as $row){?&gt;
           &lt;tr&gt;
             &lt;?php foreach($row as $name =&gt; $value){ ?&gt;
                 &lt;td&gt;&lt;?php echo $value;?&gt;&lt;/td&gt;
             &lt;?php }?&gt;                                      
           &lt;/tr&gt;
        &lt;?php }?&gt;
  &lt;/tbody&gt;
  </code></pre>
  
  <p>I am trying to do the same with twig:</p>
  
  <pre><code>&lt;tbody&gt;
      {% for row in categories %}
        &lt;tr&gt;
          {% for cell in row %}
             &lt;td&gt; &lt;/td&gt;
          {% endfor %}
        &lt;/tr&gt;
      {% endfor %}
  &lt;/tbody&gt;
  </code></pre>
  
  <p>Can anyone please tell me what should i put between  to get the result?</p>