blocked_ip_load

Definition

blocked_ip_load($iid)
drupal/modules/system/system.module, line 716

Description

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.

Code

function blocked_ip_load($iid) {
  $blocked_ip = db_fetch_array(db_query("SELECT * FROM {blocked_ips} WHERE iid = %d", $iid));
  return $blocked_ip;
}