summaryrefslogtreecommitdiffstats
path: root/user_guide/database/examples.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-04-03 22:31:07 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-04-03 22:31:07 +0200
commite1c29d2b6e1958890c3dcdf387c9b1dddb9493c5 (patch)
treed44fffdbec9f88f268ae2cfa695a6094dc041d60 /user_guide/database/examples.html
parent32b50c950d0a5c7d594074c3128db370efe9be4d (diff)
example fix
Diffstat (limited to 'user_guide/database/examples.html')
-rw-r--r--user_guide/database/examples.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/database/examples.html b/user_guide/database/examples.html
index 167c98bb3..64ec34739 100644
--- a/user_guide/database/examples.html
+++ b/user_guide/database/examples.html
@@ -150,10 +150,10 @@ echo $row->name;<br />
<code>$query = $this->db->query('SELECT name FROM my_table LIMIT 1');<br />
<br />
$row = $query->row_array();<br />
-echo $row->['name'];<br />
+echo $row['name'];<br />
</code>
-<p>The above <dfn>row_array()</dfn> function returns an <strong>array</strong>. Example: $row->['name']</p>
+<p>The above <dfn>row_array()</dfn> function returns an <strong>array</strong>. Example: $row['name']</p>
<h2>Standard Insert</h2>