form submission in Drupal i have made a custom module for form in drupal using dupal API,and made a table in my database...now What i want is to save the value of drop down box instead of it's index into database...my .module file is:

&lt;?php
function form_test_menu() {
$items['formtest'] = array(
'title' =&gt; 'Form Test',
'page callback' =&gt; 'drupal_get_form',
'page arguments' =&gt; array('form_test_form'),
'access callback' =&gt; TRUE,
);
return $items;
}
function form_test_form($form,&amp;$form_submit) {
$form['name'] = array(
'#title' =&gt; t('Name'),
'#type' =&gt; 'textfield',
'#required' =&gt; TRUE,
);
$form['college'] = array(
'#title' =&gt; t('College/University'),
'#type' =&gt; 'textfield',
'#required' =&gt; TRUE,
);
$form['education'] = array(
'#title' =&gt; t('Education'),
'#type' =&gt; 'select',
'#description' =&gt; 'Select your higher education .',
'#options' =&gt; array(t('--- SELECT ---'), t('B.tech'), t('MCA'), t('MBA'),t('Graduate')),
'#required' =&gt; TRUE,
);
$form['percentage'] = array(
'#title' =&gt; t('Percentage/CGPA'),
'#type' =&gt; 'textfield',
'#required' =&gt; TRUE,
);
$form['application'] = array(
'#title' =&gt; t('Job Applied'),
'#type' =&gt; 'select',
'#options' =&gt; array(t('---select---'),t('Web Developer'),t('Web Designer'),t('SEO'),t('Marketing')),
'#required' =&gt; TRUE,
);
$form['submit'] = array(
'#value' =&gt; 'Submit',
'#type' =&gt; 'submit',
);
return $form;
}
function form_test_form_submit($form, $form_state) {
global $user;
db_insert('drupal')
-&gt;fields(array(
'name' =&gt; $form_state['values']['name'],
    'college' =&gt; $form_state['values']['college'],
    'education' =&gt; $form_state['values']['education'],
    'percentage' =&gt; $form_state['values']['percentage'],
    'application' =&gt; $form_state['values']['application'],

))-&gt;execute();
drupal_set_message("successfully saved data");
} ?&gt;


any help will be appreciated. Thank you.
I think the easiest way to do this would be to make the key the same as the value.  For instance:

$form['education'] = array(
  '#title' =&gt; t('Education'),
  '#type' =&gt; 'select',
  '#description' =&gt; 'Select your higher education.',
  '#options' =&gt; array(
    '_none' =&gt; t('-- SELECT --'),
    'B.tech' =&gt; t('B.tech'),
    'MCA' =&gt; t('MCA'),
    'MBA' =&gt; t('MBA'),
    'Graduate' =&gt; t('Graduate')
  ),
  '#required' =&gt; TRUE,
);


You need to pass values in associative array