function blocked_ip_load
Retrieve a blocked IP address from the database.
Parameters
$iid integer: The ID of the blocked IP address to retrieve.
Return value
The blocked IP address from the database as an array.
File
-
modules/
system/ system.module, line 1720
Code
function blocked_ip_load($iid) {
return db_query("SELECT * FROM {blocked_ips} WHERE iid = :iid", array(
':iid' => $iid,
))->fetchAssoc();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.