function contact_load

Same name and namespace in other branches
  1. 7.x drupal-7.x/modules/contact/contact.module \contact_load()

Load the data for a single contact category.

1 call to contact_load()
contact_mail_page_submit in drupal-6.x/modules/contact/contact.pages.inc
Process the site-wide contact page form submission.

Archivo

drupal-6.x/modules/contact/contact.module, line 150
Enables the use of personal and site-wide contact forms.

Código

function contact_load($cid) {
  $contact = db_fetch_array(db_query("SELECT * FROM {contact} WHERE cid = %d", $cid));
  return empty($contact) ? FALSE : $contact;
}