pipes_configure_form_submit

Definition

pipes_configure_form_submit($form_id, $form_values)
pipes/pipes.module, line 117

Description

FormsAPI submit for pipes_configure_form()

Code

function pipes_configure_form_submit($form_id, $form_values) {
  $name = check_plain($form_values['name']);
  $url = check_url($form_values['url']);
  $path = urlencode($form_values['path']);
  $sql = "UPDATE {pipes} SET name = '%s', url = '%s', path = '%s' WHERE pid = %d";
  db_query($sql, $name, $url, $path, $form_values['pid']);
}