Fill table with data on submit
You're missing #options property in your tableselect element, e.g.

$form['table'] = array(
  '#type' =&gt; 'tableselect',
  '#header' =&gt; $header,
  '#options' =&gt; $options,
  '#multiple' =&gt; FALSE,
);


See: Adding checkboxes to a table.