summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/input.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-05-07 14:00:55 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-05-07 14:00:55 +0200
commit6a857c3815458df3e2824b047e5e17e87142c829 (patch)
tree1782bfd6727ab532dc4a7fa22a13c68d383bd805 /user_guide/libraries/input.html
parentd379734a06022fb7294e6ba0bd001feb3a287725 (diff)
doc examples
Diffstat (limited to 'user_guide/libraries/input.html')
-rw-r--r--user_guide/libraries/input.html2
1 files changed, 1 insertions, 1 deletions
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<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_ip($ip))<br />
+<code>if (! $this-&gt;input-&gt;valid_ip($ip))<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp; echo 'Not Valid';<br />
}<br />