summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/input.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/libraries/input.html')
-rw-r--r--user_guide/libraries/input.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html
index 311dab82f..17ed7f0ff 100644
--- a/user_guide/libraries/input.html
+++ b/user_guide/libraries/input.html
@@ -120,7 +120,7 @@ return false (boolean) if not. This lets you conveniently use data without havi
In other words, normally you might do something like this:</p>
<code>
-if (! isset($_POST['something']))<br />
+if ( ! isset($_POST['something']))<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;$something = FALSE;<br />
}<br />
@@ -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 (! $this-&gt;input-&gt;valid_ip($ip))<br />
+<code>if ( ! $this-&gt;input-&gt;valid_ip($ip))<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp; echo 'Not Valid';<br />
}<br />