diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html
index 7c3cc64..4fef709 100644
--- a/user_guide/libraries/input.html
+++ b/user_guide/libraries/input.html
@@ -183,7 +183,7 @@
 <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 />

 &nbsp;&nbsp;&nbsp;&nbsp; echo 'Not Valid';<br />

 }<br />