diff options
Diffstat (limited to 'user_guide/libraries/form_validation.html')
-rw-r--r-- | user_guide/libraries/form_validation.html | 4 |
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"><?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"><?php class Form extends Controller { |