diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-04-03 22:31:07 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-04-03 22:31:07 +0200 |
commit | e1c29d2b6e1958890c3dcdf387c9b1dddb9493c5 (patch) | |
tree | d44fffdbec9f88f268ae2cfa695a6094dc041d60 /user_guide/database | |
parent | 32b50c950d0a5c7d594074c3128db370efe9be4d (diff) |
example fix
Diffstat (limited to 'user_guide/database')
-rw-r--r-- | user_guide/database/examples.html | 4 |
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>
|