Drupal form submission
问题 I have created a form in drupal. I don't know how to handle the submission. I want to do some selection from database with the values i get from form. Here is my code to create form function q_search_form() { $form['qsearch']['category'] = array( '#type' => 'select', '#options' => array(0 => 'Any', 1 => 'Automotive', 2 => 'Real Estate'), '#attributes' => array('class' => 'drop-box'), '#prefix' => '<table width="470"><tr><td width="170">Select Category</td><td width="300">', '#suffix' => '</td