summaryrefslogtreecommitdiffstats
path: root/user_guide/database/active_record.html
diff options
context:
space:
mode:
authorPhil Sturgeon <phil@philbook-pro.(none)>2011-08-21 18:25:47 +0200
committerPhil Sturgeon <phil@philbook-pro.(none)>2011-08-21 18:25:47 +0200
commit24e921a12fa25d38568ff384d0980f198f360434 (patch)
tree685b89599b205d1bf3d2dc8db2dcf27101723bd9 /user_guide/database/active_record.html
parent9c631750dfa62c748ef9cd9bccdde3250d6e5b72 (diff)
Fixed some stuff.
Diffstat (limited to 'user_guide/database/active_record.html')
-rw-r--r--user_guide/database/active_record.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html
index 3f44fcd5b..a8f6159ef 100644
--- a/user_guide/database/active_record.html
+++ b/user_guide/database/active_record.html
@@ -525,7 +525,7 @@ $this->db->insert('mytable', $object);
<p>Generates an insert string based on the data you supply, and runs the query. You can either pass an
<strong>array</strong> or an <strong>object</strong> to the function. Here is an example using an array:</p>
-<code>
+<code>
$data = array(<br/>
&nbsp;&nbsp;&nbsp;array(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'title' => 'My title' ,<br />