summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/validation.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/libraries/validation.html')
-rw-r--r--user_guide/libraries/validation.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/validation.html b/user_guide/libraries/validation.html
index 394be1901..821e3cfa3 100644
--- a/user_guide/libraries/validation.html
+++ b/user_guide/libraries/validation.html
@@ -240,7 +240,7 @@ $this->validation->set_rules($rules);</code>
<p>Your controller should now look like this:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="28"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="28">&lt;?php
class Form extends Controller {
@@ -340,7 +340,7 @@ create a callback function that does that. Let's create a simple example.</p>
<p>Then add a new function called <dfn>username_check</dfn> to your controller. Here's how your controller should look:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="44"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="44">&lt;?php
class Form extends Controller {