summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/form_validation.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-12-07 18:04:56 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-12-07 18:04:56 +0100
commit4b6d493593b7400b7fa81d976fd3dc07ad30fe86 (patch)
tree47101b0343b13efb34912806a6b21c370e4b75e5 /user_guide/libraries/form_validation.html
parent3f45bbdcfabac41fa3ee33277a21727f71de991a (diff)
changed some code in examples from <?php to &lt;?php in the event that a local install tries to interpret the example as code
Diffstat (limited to 'user_guide/libraries/form_validation.html')
-rw-r--r--user_guide/libraries/form_validation.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/form_validation.html b/user_guide/libraries/form_validation.html
index 684fe9b51..b49117ed7 100644
--- a/user_guide/libraries/form_validation.html
+++ b/user_guide/libraries/form_validation.html
@@ -313,7 +313,7 @@ $this->form_validation->set_rules('email', 'Email', 'required');<br />
<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 {
@@ -515,7 +515,7 @@ create a callback function that does that. Let's create a example of this.</p>
<p>Then add a new function called <dfn>username_check</dfn> to your controller. Here's how your controller should now 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 {