function contact_load
7.x contact.module | contact_load($cid) |
6.x contact.module | contact_load($cid) |
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.
File
- drupal-6.x/
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;
}