summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/table.html
diff options
context:
space:
mode:
authorBarry Mieny <barry@mieny.com>2010-10-04 16:33:58 +0200
committerBarry Mieny <barry@mieny.com>2010-10-04 16:33:58 +0200
commitdd6719738936be31cdaa1758ca86d5eb14dcab3d (patch)
treeb5ef66e31b2d0f4f2c1cbccc367bde92c156e1f9 /user_guide/libraries/table.html
parent3351fbc56cea19ec3dd603836beb0a420b1ded65 (diff)
Cleanup of stray spaces and tabs
Diffstat (limited to 'user_guide/libraries/table.html')
-rw-r--r--user_guide/libraries/table.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide/libraries/table.html b/user_guide/libraries/table.html
index f1a46fca0..e90aca3d2 100644
--- a/user_guide/libraries/table.html
+++ b/user_guide/libraries/table.html
@@ -83,7 +83,7 @@ $data = array(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array('John', 'Green', 'Medium') <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br />
<br />
-echo $this->table->generate($data);
+echo $this->table->generate($data);
</code>
<p>Here is an example of a table created from a database query result. The table class will automatically generate the
@@ -95,7 +95,7 @@ $this->load->library('table');<br />
<br />
$query = $this->db->query("SELECT * FROM my_table");<br />
<br />
-echo $this->table->generate($query);
+echo $this->table->generate($query);
</code>
@@ -110,7 +110,7 @@ $this->table->add_row('Fred', 'Blue', 'Small');<br />
$this->table->add_row('Mary', 'Red', 'Large');<br />
$this->table->add_row('John', 'Green', 'Medium');<br />
<br />
-echo $this->table->generate();
+echo $this->table->generate();
</code>
<p>Here is the same example, except instead of individual parameters, arrays are used:</p>
@@ -124,7 +124,7 @@ $this->table->add_row(array('Fred', 'Blue', 'Small'));<br />
$this->table->add_row(array('Mary', 'Red', 'Large'));<br />
$this->table->add_row(array('John', 'Green', 'Medium'));<br />
<br />
-echo $this->table->generate();
+echo $this->table->generate();
</code>