You are here

function contact_load in Contact 6.2

Same name and namespace in other branches
  1. 7.2 contact.module \contact_load()

Load a contact category.

Parameters

$cid: The contact category ID.

Return value

An array with the contact category's data.

1 call to contact_load()
contact_mail_page_submit in ./contact.pages.inc
Form submission handler for contact_mail_page().

File

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

Code

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