From 3af44c081b07551f2e95f1ca296f524e44a680f9 Mon Sep 17 00:00:00 2001
From: Derek Allard
// Produces: HAVING user_id = 45
-$this->db->having('user_id', 45');
+$this->db->having('user_id', 45);
// Produces: HAVING user_id = 45
@@ -409,10 +409,10 @@ $this->db->having('user_id', 45');
// Produces: HAVING title = 'My Title', id < 45
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.
-Identical to having(), only separates multiple clauses with "OR".$this->db->having('user_id', 45');
-// Produces: HAVING `user_id` = `45` in some databases such as MySQL
+$this->db->having('user_id', 45);
+// Produces: HAVING `user_id` = 45 in some databases such as MySQL
- $this->db->having('user_id', 45', FALSE);
+ $this->db->having('user_id', 45, FALSE);
// Produces: HAVING user_id = 45$this->db->or_having();
$dsn = 'dbdriver://username:password@hostname/database';
+$this->load->database($dsn);
-$this->load->database('$dsn');
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.
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 (Notice that the above array is formatted as a struct. This is the most common data type for responses.
-As with Requests, a response can be on of the seven data types listed in the Data Types section.
+As with Requests, a response can be one of the seven data types listed in the Data Types section.
You should now see the message you sent to the server, and its response back to you.
-The client you created sends a message ("How's is going?") to the server, along with a reqest for the "Greetings" method. +
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.
-- cgit v1.2.3-24-g4f1b