example fix
diff --git a/user_guide/database/examples.html b/user_guide/database/examples.html
index 167c98b..64ec347 100644
--- a/user_guide/database/examples.html
+++ b/user_guide/database/examples.html
@@ -150,10 +150,10 @@
<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>