theme table from drupal 6 to drupal 7 I try to rewrite the node output and i don`t get it. This script produce only 

&lt;table&gt;&lt;/table&gt;


without any content. 

$rows = array();
$cols = array();

$cols[] = '&lt;div id="node-title"&gt;' . $node-&gt;title[0]['value'] . '&lt;/div&gt;';

$colnum = 0;

foreach($node-&gt;field_body as $col){
  $colnum++;
  $cols[] = '&lt;div class="description" id="description-' . $colnum . '"&gt;' . $col['value'] . '&lt;/div&gt;';
}

$rows[] = array('data' =&gt; $cols);

print theme('table', $rows)
Variables to theme functions must be named:

print theme('table', array('rows' =&gt; $rows));


See the documentation for more details.