Some sweeping syntax changes for consistency:
(! foo) changed to ( ! foo)
|| changed to OR
changed newline standardization code in various places from preg_replace to str_replace
diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html
index 311dab8..17ed7f0 100644
--- a/user_guide/libraries/input.html
+++ b/user_guide/libraries/input.html
@@ -120,7 +120,7 @@
In other words, normally you might do something like this:</p>
<code>
-if (! isset($_POST['something']))<br />
+if ( ! isset($_POST['something']))<br />
{<br />
$something = FALSE;<br />
}<br />
@@ -178,7 +178,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 (! $this->input->valid_ip($ip))<br />
+<code>if ( ! $this->input->valid_ip($ip))<br />
{<br />
echo 'Not Valid';<br />
}<br />