summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/libraries')
-rw-r--r--user_guide/libraries/file_uploading.html4
-rw-r--r--user_guide/libraries/form_validation.html4
-rw-r--r--user_guide/libraries/validation.html4
-rw-r--r--user_guide/libraries/xmlrpc.html4
4 files changed, 8 insertions, 8 deletions
diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html
index a840c1ec3..ef8ecf186 100644
--- a/user_guide/libraries/file_uploading.html
+++ b/user_guide/libraries/file_uploading.html
@@ -142,7 +142,7 @@ In it, place this code and save it to your <samp>applications/views/</samp> fold
folder:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="43"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="43">&lt;?php
class Upload extends Controller {
@@ -181,7 +181,7 @@ class Upload extends Controller {
}
}
}
-?></textarea>
+?&gt;</textarea>
<h2>The Upload Folder</h2>
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 {
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 {
diff --git a/user_guide/libraries/xmlrpc.html b/user_guide/libraries/xmlrpc.html
index e329e4a95..c5f383929 100644
--- a/user_guide/libraries/xmlrpc.html
+++ b/user_guide/libraries/xmlrpc.html
@@ -319,7 +319,7 @@ XML-RPC Client and Server. You'll use the Client to send a request to the Serve
<p>Using a text editor, create a controller called <dfn>xmlrpc_client.php</dfn>.
In it, place this code and save it to your <samp>applications/controllers/</samp> folder:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="32"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="32">&lt;?php
class Xmlrpc_client extends Controller {
@@ -357,7 +357,7 @@ class Xmlrpc_client extends Controller {
<p>Using a text editor, create a controller called <dfn>xmlrpc_server.php</dfn>.
In it, place this code and save it to your <samp>applications/controllers/</samp> folder:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="30"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="30">&lt;?php
class Xmlrpc_server extends Controller {