From fc38deab8b258cafb3fe7fefb26c70e38f7db6bc Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Tue, 9 Jan 2007 19:47:05 +0000 Subject: --- user_guide/libraries/input.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/libraries') 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

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.

-if ( ! valid_id($ip))
+if ( ! valid_ip($ip))
{
     echo 'Not Valid';
}
-- cgit v1.2.3-24-g4f1b