summaryrefslogtreecommitdiffstats
path: root/user_guide/database
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-09-11 12:55:17 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-09-11 12:55:17 +0200
commitca731d1db0df869c0a8629fd1518eeadac45fd5d (patch)
tree25efe81af14fb2f0fd5709c3e9833dad22d52199 /user_guide/database
parentdd3b41544b2ac5dbac7f8240fa1ebb957fd43534 (diff)
parent61bb5012ba51ebbe5af11ef9d21741474f9f970d (diff)
Merge pull request #426 from appleboy/guide
Update user guide
Diffstat (limited to 'user_guide/database')
-rw-r--r--user_guide/database/active_record.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html
index 0f09e78c3..10259a4af 100644
--- a/user_guide/database/active_record.html
+++ b/user_guide/database/active_record.html
@@ -530,7 +530,7 @@ $this->db->insert('mytable', $object);
<strong>array</strong> or an <strong>object</strong> to the function. Here is an example using an array:</p>
<code>
-$data = array(<br/>
+$data = array(<br />
&nbsp;&nbsp;&nbsp;array(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'title' => 'My title' ,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'name' => 'My Name' ,<br />
@@ -540,7 +540,7 @@ $data = array(<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'title' => 'Another title' ,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'name' => 'Another Name' ,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'date' => 'Another date'<br />
-&nbsp;&nbsp;&nbsp;)<br/>
+&nbsp;&nbsp;&nbsp;)<br />
);<br />
<br />
$this->db->update_batch('mytable', $data);
@@ -783,4 +783,4 @@ Next Topic:&nbsp;&nbsp;<a href="transactions.html">Transactions</a>
</div>
</body>
-</html> \ No newline at end of file
+</html>