From 0e3263b44d2762894588ff3e682579ec0cb77fa0 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Thu, 10 Mar 2011 16:37:35 +0000 Subject: Updated version number in User Guide html. --- user_guide/database/examples.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/database/examples.html') diff --git a/user_guide/database/examples.html b/user_guide/database/examples.html index c0eabd846..10daef7ee 100644 --- a/user_guide/database/examples.html +++ b/user_guide/database/examples.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

-- cgit v1.2.3-24-g4f1b From 1f622294b92c095fd91e8ca44912d405c1605ded Mon Sep 17 00:00:00 2001 From: Pascal Kriete Date: Thu, 7 Apr 2011 12:06:51 -0400 Subject: Wow, I screwed that up, Reactor is going to 2.0.2 not 2.0.1 --- user_guide/database/examples.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/database/examples.html') diff --git a/user_guide/database/examples.html b/user_guide/database/examples.html index 10daef7ee..535fa3177 100644 --- a/user_guide/database/examples.html +++ b/user_guide/database/examples.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

-- cgit v1.2.3-24-g4f1b From 114ab0988e20ac6be39ad363ff897a1a3b85e565 Mon Sep 17 00:00:00 2001 From: Razican Date: Mon, 25 Apr 2011 17:26:45 +0200 Subject: Fixed double-space typo. --- user_guide/database/examples.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'user_guide/database/examples.html') diff --git a/user_guide/database/examples.html b/user_guide/database/examples.html index 535fa3177..6bb8beb32 100644 --- a/user_guide/database/examples.html +++ b/user_guide/database/examples.html @@ -61,7 +61,7 @@ Database Example Code

Database Quick Start: Example Code

-

The following page contains example code showing how the database class is used. For complete details please +

The following page contains example code showing how the database class is used. For complete details please read the individual pages describing each function.

@@ -73,7 +73,7 @@ read the individual pages describing each function.

Once loaded the class is ready to be used as described below.

-

Note: If all your pages require database access you can connect automatically. See the connecting page for details.

+

Note: If all your pages require database access you can connect automatically. See the connecting page for details.

Standard Query With Multiple Results (Object Version)

@@ -90,7 +90,7 @@ foreach ($query->result() as $row)
echo 'Total Results: ' . $query->num_rows(); -

The above result() function returns an array of objects. Example: $row->title

+

The above result() function returns an array of objects. Example: $row->title

Standard Query With Multiple Results (Array Version)

@@ -104,7 +104,7 @@ foreach ($query->result_array() as $row)
    echo $row['email'];
} -

The above result_array() function returns an array of standard array indexes. Example: $row['title']

+

The above result_array() function returns an array of standard array indexes. Example: $row['title']

Testing for Results

@@ -137,7 +137,7 @@ $row = $query->row();
echo $row->name;
-

The above row() function returns an object. Example: $row->name

+

The above row() function returns an object. Example: $row->name

Standard Query With Single Result (Array version)

@@ -148,7 +148,7 @@ $row = $query->row_array();
echo $row['name'];
-

The above row_array() function returns an array. Example: $row['name']

+

The above row_array() function returns an array. Example: $row['name']

Standard Insert

-- cgit v1.2.3-24-g4f1b