diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2007-01-09 20:47:05 +0100 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2007-01-09 20:47:05 +0100 |
commit | fc38deab8b258cafb3fe7fefb26c70e38f7db6bc (patch) | |
tree | a548a94efd2be1ed57f91e472f7e915a5b5fad42 | |
parent | 30c536dcd4e54613e3daa6af02ba6701b6d42832 (diff) |
-rw-r--r-- | user_guide/libraries/input.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html index 7c3cc640a..4fef70918 100644 --- a/user_guide/libraries/input.html +++ b/user_guide/libraries/input.html @@ -183,7 +183,7 @@ else<br /> <p>Takes an IP address as input and returns TRUE or FALSE (boolean) if it is valid or not. Note: The $this->input->ip_address() function above
validates the IP automatically.</p>
-<code>if ( ! valid_id($ip))<br />
+<code>if ( ! valid_ip($ip))<br />
{<br />
echo 'Not Valid';<br />
}<br />
|