contact_load
- Versions
- 6 – 7
contact_load($cid)
Load a contact category.
Parameters
$cid The contact category ID.
Return value
An array with the contact category's data.
Code
modules/contact/contact.module, line 157
<?php
function contact_load($cid) {
return db_query("SELECT * FROM {contact} WHERE cid = :cid", array(':cid' => $cid))->fetchAssoc();
}
?>Login or register to post comments 