You are here

function contact_load in Drupal 6

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

Load the data for a single contact category.

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

File

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

Code

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