diff options
-rw-r--r-- | user_guide/database/active_record.html | 8 | ||||
-rw-r--r-- | user_guide/database/connecting.html | 2 | ||||
-rw-r--r-- | user_guide/libraries/xmlrpc.html | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html index 5fbd3bc8e..68434d32d 100644 --- a/user_guide/database/active_record.html +++ b/user_guide/database/active_record.html @@ -397,7 +397,7 @@ $this->db->or_not_like('body', 'match'); <br /> <br />
// Produces: HAVING user_id = 45<br />
<br />
-$this->db->having('user_id', 45'); <br />
+$this->db->having('user_id', 45); <br />
// Produces: HAVING user_id = 45<br />
<br />
</code>
@@ -409,10 +409,10 @@ $this->db->having('user_id', 45'); <br /> <br />
// Produces: HAVING title = 'My Title', id < 45</code></p>
<p>If you are using a database that CodeIgniter escapes queries for, you can prevent escaping content by passing an optional third argument, and setting it to FALSE.</p>
-<p><code>$this->db->having('user_id', 45'); <br />
-// Produces: HAVING `user_id` = `45` in some databases such as MySQL
+<p><code>$this->db->having('user_id', 45); <br />
+// Produces: HAVING `user_id` = 45 in some databases such as MySQL
<br />
- $this->db->having('user_id', 45', FALSE); <br />
+ $this->db->having('user_id', 45, FALSE); <br />
// Produces: HAVING user_id = 45</code></p>
<h2>$this->db->or_having();</h2>
<p>Identical to having(), only separates multiple clauses with "OR".</p>
diff --git a/user_guide/database/connecting.html b/user_guide/database/connecting.html index 79277e536..4a859d186 100644 --- a/user_guide/database/connecting.html +++ b/user_guide/database/connecting.html @@ -115,7 +115,7 @@ $this->load->database(<samp>$config</samp>);</code> <code>$dsn = 'dbdriver://username:password@hostname/database';<br />
<br />
-$this->load->database('<samp>$dsn</samp>');</code>
+$this->load->database(<samp>$dsn</samp>);</code>
<p>Note that if you use a DSN you will not be able to specify some of the default values like you can if you use a connection array.</p>
diff --git a/user_guide/libraries/xmlrpc.html b/user_guide/libraries/xmlrpc.html index efd1316e4..8bec465ba 100644 --- a/user_guide/libraries/xmlrpc.html +++ b/user_guide/libraries/xmlrpc.html @@ -290,7 +290,7 @@ $response = array (<br /> <p class="important">Notice that the above array is formatted as a <dfn>struct</dfn>. This is the most common data type for responses.</p>
-<p>As with Requests, a response can be on of the seven data types listed in the <a href="#datatypes">Data Types</a> section.</p>
+<p>As with Requests, a response can be one of the seven data types listed in the <a href="#datatypes">Data Types</a> section.</p>
<h2>Sending an Error Response</h2>
@@ -392,7 +392,7 @@ class Xmlrpc_server extends Controller { <p>You should now see the message you sent to the server, and its response back to you.</p>
-<p>The client you created sends a message ("How's is going?") to the server, along with a reqest for the "Greetings" method.
+<p>The client you created sends a message ("How's is going?") to the server, along with a request for the "Greetings" method.
The Server receives the request and maps it to the "process" function, where a response is sent back.</p>
|