contact_load

Versions
6 – 7
contact_load($cid)

Load the data for a single contact category.

▾ 1 function calls contact_load()

contact_mail_page_submit in modules/contact/contact.pages.inc
Process the site-wide contact page form submission.

Code

modules/contact/contact.module, line 150

<?php
function contact_load($cid) {
  $contact = db_fetch_array(db_query("SELECT * FROM {contact} WHERE cid = %d", $cid));
  return empty($contact) ? FALSE : $contact;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.