You are here

function dba_view_tables_submit in Database Administration 7

File

./dba.admin.inc, line 216

Code

function dba_view_tables_submit($form, &$form_state) {
  $key = 0;
  while (isset($form_state['input']["table_{$key}"])) {
    $table = $form_state['input']["table_{$key}"];
    $_SESSION["dba_view_fields_{$table}"] = $form_state['input']["{$table}_view_fields"];
    $key++;
  }
}