blocked_ip_load($iid)
drupal/modules/system/system.module, line 716
Retrieve a blocked IP address from the database.
$iid integer The ID of the blocked IP address to retrieve.
The blocked IP address from the database as an array.
function blocked_ip_load($iid) {
$blocked_ip = db_fetch_array(db_query("SELECT * FROM {blocked_ips} WHERE iid = %d", $iid));
return $blocked_ip;
}