From e7e1dcd452a15abaaa01c03cd1ade564e3a59453 Mon Sep 17 00:00:00 2001
From: admin You can include an operator in the first parameter in order to to control the comparison: You can include an operator in the first parameter in order to control the comparison: 2. You can gather the feild names associated with any query you run by calling the function
+ 2. You can gather the field names associated with any query you run by calling the function
from your query result object: Sometimes it's helpful to know whether a particular field exists befor performing an action.
+ Sometimes it's helpful to know whether a particular field exists before performing an action.
Returns a boolean TRUE/FALSE. Usage example: If you have run a query already you can use the result oject instead of supplying the table name: If you have run a query already you can use the result object instead of supplying the table name:$this->db->where('name !=', $name);
-
$this->db->where('id <', $id);
diff --git a/user_guide/database/fields.html b/user_guide/database/fields.html
index d70314b5a..1ae1a392b 100644
--- a/user_guide/database/fields.html
+++ b/user_guide/database/fields.html
@@ -80,7 +80,7 @@ foreach ($fields as $field)
}
@@ -96,7 +96,7 @@ foreach ($query->list_fields() as $field)
$this->db->field_exists()
-
@@ -133,7 +133,7 @@ foreach ($fields as $field)
-
}
$query = $this->db->query("YOUR QUERY")
diff --git a/user_guide/database/queries.html b/user_guide/database/queries.html
index 39ad00f12..a13e2d6a5 100644
--- a/user_guide/database/queries.html
+++ b/user_guide/database/queries.html
@@ -87,7 +87,7 @@ It simply lets you submit a query. Most users will rarely use this function.
It's a very good security practice to escape your data before sumbiting it into your database. +
It's a very good security practice to escape your data before submitting it into your database. Code Igniter has two functions that help you do this:
A key is a piece of information that controls the cryptographic process and permits an encrypted string to be decoded. In fact, the key you chose will provide the only means to decode data that was encrypted with that key, -so not only must you chose the key carefully, you must must never change it if you intend use it for persistent data.
+so not only must you chose the key carefully, you must never change it if you intend use it for persistent data.It goes without saying that you should guard your key carefully. Should someone gain access to your key, the data will be easily decoded. If your server is not totally under your control diff --git a/user_guide/libraries/language.html b/user_guide/libraries/language.html index 042a1dbf9..107865318 100644 --- a/user_guide/libraries/language.html +++ b/user_guide/libraries/language.html @@ -70,7 +70,7 @@ your own language files as needed in order to display error and other messages i
Language files are typically stored in your system/language directory. Alternately you can create a folder called language inside your application folder and store them there. Code Igniter will look first in your system/application/language -directory. If the direcotry does not exist or the specified language is not located there CI will instead look in your global +directory. If the directory does not exist or the specified language is not located there CI will instead look in your global system/language folder.
Note: Each language should be stored in its own folder. For example, the English files are located at: diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html index 44bae34ad..32bbddfe6 100644 --- a/user_guide/libraries/loader.html +++ b/user_guide/libraries/loader.html @@ -83,13 +83,13 @@ Note: We use the terms "class" and "library" interchangeably.
Once loaded, the library will be ready for use, using $this->email->some_function(). -Each library is described in detail in its own page, so please read theinformation regarding each one you would like to use.
+Each library is described in detail in its own page, so please read the information regarding each one you would like to use.Parameters can be passed to the library via an array in the second parameter. -
If you would like your libraries assigned to a different variable name then the default you can specify the name in the second paramter:
+If you would like your libraries assigned to a different variable name then the default you can specify the name in the second parameter:
$this->load->library('email', 'E'); // Assigns the email object to "E"
diff --git a/user_guide/libraries/output.html b/user_guide/libraries/output.html
index d577fbba2..dd3ce4232 100644
--- a/user_guide/libraries/output.html
+++ b/user_guide/libraries/output.html
@@ -110,7 +110,7 @@ $this->output->set_header("Pragma: no-cache");
Permits you to enable/disable the Profiler, which will display benchmark and other data at the bottom of your pages for debugging and optimization purposes.
-To enable the profiler place the the following function anywhere within your Controller functions:
+To enable the profiler place the following function anywhere within your Controller functions:
$this->output->enable_profiler(TRUE);
When enabled a report will be generated and inserted at the bottom of your pages.
diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html index 19cfc7449..317878a08 100644 --- a/user_guide/libraries/pagination.html +++ b/user_guide/libraries/pagination.html @@ -122,7 +122,7 @@ something different you can specify it.The number of "digit" links you would like before and after the the selected page number. For example, the number 2 +
The number of "digit" links you would like before and after the selected page number. For example, the number 2 will place two digits on either side, as in the example links at the very top of this page.
If you use select menues, radio buttons or checkboxes, you will want the state of -these items to be retained in the event of an error. The Validation class has three functions taht help you do this:
+If you use select menus, radio buttons or checkboxes, you will want the state of +these items to be retained in the event of an error. The Validation class has three functions that help you do this:
For detailed spcifications, you can visit the XML-RPC site.
+For detailed specifications, you can visit the XML-RPC site.
Request parameters must be placed into an array for transportation, and each parameter can can be one +
Request parameters must be placed into an array for transportation, and each parameter can be one of seven data types (strings, numbers, dates, etc.). If your parameters are something other than strings you will have to include the data type in the request array.
@@ -447,7 +447,7 @@ is the error message.return $this->xmlrpc->send_error_message('123', 'Requested data not available');
Lets you send the response from your server to the client. An array of of valid data values must be sent with this method.
+Lets you send the response from your server to the client. An array of valid data values must be sent with this method.
$response = array(
array(
'flerror' => array(FALSE, 'boolean'),
--
cgit v1.2.3-24-g4f1b