diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-09-11 12:55:17 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-09-11 12:55:17 +0200 |
commit | ca731d1db0df869c0a8629fd1518eeadac45fd5d (patch) | |
tree | 25efe81af14fb2f0fd5709c3e9833dad22d52199 /user_guide/database | |
parent | dd3b41544b2ac5dbac7f8240fa1ebb957fd43534 (diff) | |
parent | 61bb5012ba51ebbe5af11ef9d21741474f9f970d (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.html | 6 |
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 /> array(<br /> 'title' => 'My title' ,<br /> 'name' => 'My Name' ,<br /> @@ -540,7 +540,7 @@ $data = array(<br/> 'title' => 'Another title' ,<br /> 'name' => 'Another Name' ,<br /> 'date' => 'Another date'<br /> - )<br/> + )<br /> );<br /> <br /> $this->db->update_batch('mytable', $data); @@ -783,4 +783,4 @@ Next Topic: <a href="transactions.html">Transactions</a> </div> </body> -</html>
\ No newline at end of file +</html> |