From 6a857c3815458df3e2824b047e5e17e87142c829 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 7 May 2008 12:00:55 +0000 Subject: doc examples --- user_guide/libraries/input.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/libraries/input.html') diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html index bb1a5f20d..311dab82f 100644 --- a/user_guide/libraries/input.html +++ b/user_guide/libraries/input.html @@ -178,7 +178,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_ip($ip))
+if (! $this->input->valid_ip($ip))
{
     echo 'Not Valid';
}
-- cgit v1.2.3-24-g4f1b