how to get the select value???????

Syed_Shah - June 27, 2009 - 18:12

Hello all,
I have the following select code in form setup function

$form['page1'] = array(
    '#type' => 'select',
    '#title' => t('The A page for the split test'),
    '#options' => $page_option_array,
    '#description' => t('Select the first page to be split test against.')
  );

I want to insert the selected value in database in my form submit function. Kindly tell mow how can i get the selected value and then insert it into database in the following code

function module_setup_form_submit($form_id, $form_values)
{
}

 
 

Drupal is a registered trademark of Dries Buytaert.